sources [mandatory]
As above
+headers
+ As above
+
version
As above
sources = files('rte_acc100_pmd.c')
-install_headers('rte_acc100_cfg.h')
+headers = files('rte_acc100_cfg.h')
sources = files('rte_fpga_5gnr_fec.c')
-install_headers('rte_pmd_fpga_5gnr_fec.h')
+headers = files('rte_pmd_fpga_5gnr_fec.h')
endif
deps += ['pci', 'kvargs', 'rawdev']
-install_headers('rte_bus_ifpga.h')
+headers = files('rte_bus_ifpga.h')
sources = files('ifpga_common.c', 'ifpga_bus.c')
# Copyright(c) 2017 Intel Corporation
deps += ['pci']
-install_headers('rte_bus_pci.h')
+headers = files('rte_bus_pci.h')
sources = files('pci_common.c',
'pci_params.c')
if is_linux
sources = files('vdev.c',
'vdev_params.c')
-install_headers('rte_bus_vdev.h')
+headers = files('rte_bus_vdev.h')
deps += ['kvargs']
endif
-install_headers('rte_bus_vmbus.h','rte_vmbus_reg.h')
+headers = files('rte_bus_vmbus.h','rte_vmbus_reg.h')
sources = files('vmbus_common.c',
'vmbus_channel.c',
deps += ['bus_fslmc']
sources = files('dpaa2_hw_mempool.c')
-install_headers('rte_dpaa2_mempool.h')
+headers = files('rte_dpaa2_mempool.h')
name = drv
fmt_name = ''
sources = []
+ headers = []
objs = []
cflags = default_cflags
includes = [include_directories(drv_path)]
dpdk_extra_ldflags += pkgconfig_extra_libs
+ install_headers(headers)
+
# generate pmdinfo sources by building a temporary
# lib and then running pmdinfogen on the contents of
# that lib. The final lib reuses the object files and
reason = 'only supported on linux'
endif
sources = files('avp_ethdev.c')
-install_headers('rte_avp_common.h', 'rte_avp_fifo.h')
+headers = files('rte_avp_common.h', 'rte_avp_fifo.h')
# Copyright(c) 2018 Intel Corporation
# Copyright(c) 2020 Broadcom
-install_headers('rte_pmd_bnxt.h')
+headers = files('rte_pmd_bnxt.h')
includes += include_directories('tf_ulp')
includes += include_directories('tf_core')
deps += 'sched' # needed for rte_bitmap.h
deps += ['ip_frag']
-install_headers('rte_eth_bond.h', 'rte_eth_bond_8023ad.h')
+headers = files('rte_eth_bond.h', 'rte_eth_bond_8023ad.h')
cflags += '-Wno-pointer-arith'
endif
-install_headers('rte_pmd_dpaa.h')
+headers = files('rte_pmd_dpaa.h')
includes += include_directories('base', 'mc')
-install_headers('rte_pmd_dpaa2.h')
+headers = files('rte_pmd_dpaa2.h')
sources += files('i40e_rxtx_vec_neon.c')
endif
-install_headers('rte_pmd_i40e.h')
+headers = files('rte_pmd_i40e.h')
'ice_dcf_ethdev.c',
'ice_dcf_parent.c')
-install_headers('rte_pmd_ice.h')
+headers = files('rte_pmd_ice.h')
includes += include_directories('base')
-install_headers('rte_pmd_ixgbe.h')
+headers = files('rte_pmd_ixgbe.h')
# Copyright(c) 2017 Intel Corporation
sources = files('rte_eth_ring.c')
-install_headers('rte_eth_ring.h')
+headers = files('rte_eth_ring.h')
build = false
reason = 'only supported on linux'
endif
-install_headers('rte_eth_softnic.h')
+headers = files('rte_eth_softnic.h')
sources = files('rte_eth_softnic_tm.c',
'rte_eth_softnic.c',
'rte_eth_softnic_mempool.c',
build = dpdk_conf.has('RTE_LIB_VHOST')
reason = 'missing dependency, DPDK vhost library'
sources = files('rte_eth_vhost.c')
-install_headers('rte_eth_vhost.h')
+headers = files('rte_eth_vhost.h')
deps += 'vhost'
deps += ['rawdev', 'mempool_dpaa2', 'bus_vdev']
sources = files('dpaa2_cmdif.c')
-install_headers('rte_pmd_dpaa2_cmdif.h')
+headers = files('rte_pmd_dpaa2_cmdif.h')
deps += ['rawdev', 'mempool_dpaa2', 'ring', 'kvargs']
sources = files('dpaa2_qdma.c')
-install_headers('rte_pmd_dpaa2_qdma.h')
+headers = files('rte_pmd_dpaa2_qdma.h')
'mbuf',
'rawdev']
-install_headers('rte_ioat_rawdev.h',
+headers = files('rte_ioat_rawdev.h',
'rte_ioat_rawdev_fns.h')
'pci', 'bus_pci']
sources = files('ntb.c',
'ntb_hw_intel.c')
-install_headers('rte_pmd_ntb.h')
+headers = files('rte_pmd_ntb.h')