X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmeson.build;h=268422a257039aef2e277cf65f36c56f840edf43;hb=23f7ec1d9b7ccfcfb9b9f67d33cf6cbf7f5034d3;hp=d50f09db12d3fbbe25b7a985f6dc01b837a1a7e9;hpb=bb4141dbe5da2924d5b9f8554fd022721d2cc127;p=dpdk.git diff --git a/examples/meson.build b/examples/meson.build index d50f09db12..268422a257 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -43,8 +43,6 @@ all_examples = [ 'multi_process/symmetric_mp', 'ntb', 'packet_ordering', - 'performance-thread/l3fwd-thread', - 'performance-thread/pthread_shim', 'pipeline', 'ptpclient', 'qos_meter', @@ -104,6 +102,19 @@ foreach example: examples 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 + '"') @@ -112,14 +123,6 @@ foreach example: examples 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