'bond',
'cmdline',
'distributor',
+ 'dma',
'ethtool',
'eventdev_pipeline',
'fips_validation',
'flow_classify',
'flow_filtering',
'helloworld',
- 'ioat',
'ip_fragmentation',
'ip_pipeline',
'ip_reassembly',
deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']
subdir(example)
+ if build
+ dep_objs = ext_deps
+ foreach d:deps
+ var_name = get_option('default_library') + '_rte_' + d
+ if not is_variable(var_name)
+ build = false
+ message('Missing dependency "@0@" for example "@1@"'.format(d, name))
+ break
+ endif
+ dep_objs += [get_variable(var_name)]
+ endforeach
+ endif
+
if not build
if not allow_skips
error('Cannot build requested example "' + name + '"')
continue
endif
- dep_objs = ext_deps
- foreach d:deps
- var_name = get_option('default_library') + '_rte_' + d
- if not is_variable(var_name)
- error('Missing dependency "@0@" for example "@1@"'.format(d, name))
- endif
- dep_objs += [get_variable(var_name)]
- endforeach
if allow_experimental_apis
cflags += '-DALLOW_EXPERIMENTAL_API'
endif