[dpdk-dev] [PATCH] bpf: use helper to install headers

David Marchand david.marchand at redhat.com
Thu Oct 22 09:50:38 CEST 2020


Libraries can use the headers variable to install headers.

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 lib/librte_bpf/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build
index 6070898cb6..48460e9505 100644
--- a/lib/librte_bpf/meson.build
+++ b/lib/librte_bpf/meson.build
@@ -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']
 
-- 
2.23.0



More information about the dev mailing list