net/ice/base: add helper function to redirect flags
[dpdk.git] / drivers / net / bnxt / meson.build
index e8a25be..81cbe03 100644 (file)
@@ -8,7 +8,9 @@ if is_windows
     subdir_done()
 endif
 
+headers = files('rte_pmd_bnxt.h')
 cflags_options = [
+        '-DRTE_LIBRTE_BNXT_TF',
         '-DSUPPORT_CFA_HW_ALL=1',
 ]
 
@@ -64,6 +66,6 @@ if arch_subdir == 'x86'
                             c_args: [cflags, '-mavx2'])
             objs += bnxt_avx2_lib.extract_objects('bnxt_rxtx_vec_avx2.c')
      endif
-elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
+elif arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64')
     sources += files('bnxt_rxtx_vec_neon.c')
 endif