X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=app%2Fmeson.build;h=93d8c15032225956500c2ea6e60f3ca7c9de4be8;hb=c4e442fa4c455afcbdf11d5c3d7fd7e3481eb1a4;hp=4c6049807cc30db0a6a939f1a48efdb0e0271dbd;hpb=634b73104482df418eb3696f2d340c4f184e953a;p=dpdk.git diff --git a/app/meson.build b/app/meson.build index 4c6049807c..93d8c15032 100644 --- a/app/meson.build +++ b/app/meson.build @@ -2,6 +2,7 @@ # Copyright(c) 2017-2019 Intel Corporation apps = [ + 'dumpcap', 'pdump', 'proc-info', 'test-acl', @@ -12,6 +13,7 @@ apps = [ 'test-eventdev', 'test-fib', 'test-flow-perf', + 'test-gpudev', 'test-pipeline', 'test-pmd', 'test-regex', @@ -41,15 +43,23 @@ foreach app:apps 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 @@ -60,7 +70,7 @@ foreach app:apps c_args: cflags, link_args: ldflags, link_whole: link_libs, - dependencies: dep_objs, + dependencies: ext_deps + dep_objs, include_directories: includes, install_rpath: join_paths(get_option('prefix'), driver_install_path), install: true)