subdir(name)
+ if build
+ dep_objs = []
+ foreach d:deps
+ var_name = get_option('default_library') + '_rte_' + d
+ if not is_variable(var_name)
+ build = false
+ message('Missing dependency "@0@" for app "@1@"'.format(d, name))
+ break
+ endif
+ dep_objs += [get_variable(var_name)]
+ endforeach
+ endif
+
if not build
continue
endif
- dep_objs = []
- foreach d:deps
- dep_objs += get_variable(get_option('default_library') + '_rte_' + d)
- endforeach
-
link_libs = []
if get_option('default_library') == 'static'
link_libs = dpdk_static_libraries + dpdk_drivers
test_sources += 'test_pmd_ring.c'
test_sources += 'test_event_eth_tx_adapter.c'
test_sources += 'sample_packet_forward.c'
- test_sources += 'test_pdump.c'
fast_tests += [['ring_pmd_autotest', true]]
perf_test_names += 'ring_pmd_perf_autotest'
fast_tests += [['event_eth_tx_adapter_autotest', false]]
- fast_tests += [['pdump_autotest', true]]
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
test_deps += 'bitratestats'
test_sources += 'test_bitratestats.c'
test_sources += 'test_latencystats.c'
fast_tests += [['latencystats_autotest', true]]
endif
+ if dpdk_conf.has('RTE_LIB_PDUMP')
+ test_deps += 'pdump'
+ test_sources += 'test_pdump.c'
+ fast_tests += [['pdump_autotest', true]]
+ endif
endif
if dpdk_conf.has('RTE_HAS_LIBPCAP')
if dpdk_conf.has('RTE_LIB_KNI')
test_deps += 'kni'
endif
-if dpdk_conf.has('RTE_LIB_PDUMP')
- test_deps += 'pdump'
-endif
if cc.has_argument('-Wno-format-truncation')
cflags += '-Wno-format-truncation'