bpf: use helper to install headers

Libraries can use the headers variable to install headers.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
David Marchand 2020-10-22 09:50:38 +02:00
parent 6b3848e211
commit a5c369d486

View File

@ -13,9 +13,9 @@ elif dpdk_conf.has('RTE_ARCH_ARM64')
sources += files('bpf_jit_arm64.c')
endif
install_headers('bpf_def.h',
'rte_bpf.h',
'rte_bpf_ethdev.h')
headers = files('bpf_def.h',
'rte_bpf.h',
'rte_bpf_ethdev.h')
deps += ['mbuf', 'net', 'ethdev']