X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_bpf%2Fmeson.build;h=52cfaf9ac29935ca1f87f809480204c5523bf29b;hb=2e5e5d6ff869120e3af2cbdf76c257b79d25a64c;hp=8a79878ff31f44eecb98383e06248fc4751cf978;hpb=e30b4e566f47ab1ed6c322878022bc60980fe5c2;p=dpdk.git diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build index 8a79878ff3..52cfaf9ac2 100644 --- a/lib/librte_bpf/meson.build +++ b/lib/librte_bpf/meson.build @@ -10,9 +10,11 @@ sources = files('bpf.c', if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_64') sources += files('bpf_jit_x86.c') +elif dpdk_conf.has('RTE_ARCH_ARM64') + sources += files('bpf_jit_arm64.c') endif -install_headers = files('bpf_def.h', +install_headers('bpf_def.h', 'rte_bpf.h', 'rte_bpf_ethdev.h') @@ -20,6 +22,7 @@ deps += ['mbuf', 'net', 'ethdev'] dep = dependency('libelf', required: false) if dep.found() + dpdk_conf.set('RTE_LIBRTE_BPF_ELF', 1) sources += files('bpf_load_elf.c') ext_deps += dep endif