bpf: use helper to install headers
authorDavid Marchand <david.marchand@redhat.com>
Thu, 22 Oct 2020 07:50:38 +0000 (09:50 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 22 Oct 2020 12:15:19 +0000 (14:15 +0200)
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>
lib/librte_bpf/meson.build

index 6070898..48460e9 100644 (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']