X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_bpf%2Fmeson.build;h=13fc02db38ed92ec0df1307ae2c41042ec9f70b7;hb=957394f726589f7e51362e58936e513de3cccb19;hp=8a79878ff31f44eecb98383e06248fc4751cf978;hpb=e30b4e566f47ab1ed6c322878022bc60980fe5c2;p=dpdk.git diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build index 8a79878ff3..13fc02db38 100644 --- a/lib/librte_bpf/meson.build +++ b/lib/librte_bpf/meson.build @@ -10,6 +10,8 @@ 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', @@ -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