1bfe2ae49SAnoob Joseph# SPDX-License-Identifier: BSD-3-Clause 2bfe2ae49SAnoob Joseph# Copyright(c) 2018 Cavium, Inc 3e1369718SPavan Nikhilesh# 4e1369718SPavan Nikhilesh 5e1369718SPavan Nikhileshif not is_linux or not dpdk_conf.get('RTE_ARCH_64') 6e1369718SPavan Nikhilesh build = false 7e1369718SPavan Nikhilesh reason = 'only supported on 64-bit Linux' 8e1369718SPavan Nikhilesh subdir_done() 9e1369718SPavan Nikhileshendif 10bfe2ae49SAnoob Joseph 11*5731efeaSTal Shnaidermanif is_windows 12*5731efeaSTal Shnaiderman build = false 13*5731efeaSTal Shnaiderman reason = 'not supported on Windows' 14*5731efeaSTal Shnaiderman subdir_done() 15*5731efeaSTal Shnaidermanendif 16*5731efeaSTal Shnaiderman 17bfe2ae49SAnoob Josephdeps += ['bus_pci'] 1844a2cebbSShijith Thottondeps += ['bus_vdev'] 19273487f7SAnoob Josephdeps += ['common_cpt'] 208dc6c2f1SShijith Thottondeps += ['eventdev'] 21bfe2ae49SAnoob Joseph 224ad4b20aSBruce Richardsonsources = files( 234ad4b20aSBruce Richardson 'otx_cryptodev.c', 24ef82c2e8SAnkur Dwivedi 'otx_cryptodev_capabilities.c', 250dc1cffaSAnkur Dwivedi 'otx_cryptodev_hw_access.c', 26ae500541SMurthy NSSR 'otx_cryptodev_mbox.c', 274ad4b20aSBruce Richardson 'otx_cryptodev_ops.c', 284ad4b20aSBruce Richardson) 29bfe2ae49SAnoob Joseph 30bfe2ae49SAnoob Josephincludes += include_directories('../../common/cpt') 3144a2cebbSShijith Thottonincludes += include_directories('../../common/octeontx') 3244a2cebbSShijith Thottonincludes += include_directories('../../event/octeontx') 3344a2cebbSShijith Thottonincludes += include_directories('../../mempool/octeontx') 3444a2cebbSShijith Thottonincludes += include_directories('../../net/octeontx') 35