summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-06-05 21:22:39 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-07-02 23:20:26 +0200
commit8baad6f884d687e30097dd5b5f23ec973b0a3e0a (patch)
treed1deb8c5078e907fb6b1d4ed56cbadf8dcabe4b9 /meson.build
parent291d090364fc0b0cefb0d91cca896e336b6f6331 (diff)
downloaddpdk-8baad6f884d687e30097dd5b5f23ec973b0a3e0a.zip
dpdk-8baad6f884d687e30097dd5b5f23ec973b0a3e0a.tar.gz
dpdk-8baad6f884d687e30097dd5b5f23ec973b0a3e0a.tar.xz
build: print list of disabled components
When configuring with meson we print out a list of enabled components, but it is also useful to list out the disabled components and the reasons why. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 76a14cc..c5a3dda 100644
--- a/meson.build
+++ b/meson.build
@@ -20,6 +20,8 @@ dpdk_driver_classes = []
dpdk_drivers = []
dpdk_extra_ldflags = []
dpdk_app_link_libraries = []
+dpdk_libs_disabled = []
+dpdk_drvs_disabled = []
# configure the build, and make sure configs here and in config folder are
# able to be included in any file. We also store a global array of include dirs
@@ -112,3 +114,16 @@ foreach class:dpdk_driver_classes
endforeach
endforeach
message(output_message + '\n')
+
+output_message = '\n=================\nContent Skipped\n=================\n'
+output_message += '\nlibs:\n\t'
+foreach lib:dpdk_libs_disabled
+ reason = get_variable(lib.underscorify() + '_disable_reason')
+ output_message += lib + ':\t' + reason + '\n\t'
+endforeach
+output_message += '\ndrivers:\n\t'
+foreach drv:dpdk_drvs_disabled
+ reason = get_variable(drv.underscorify() + '_disable_reason')
+ output_message += drv + ':\t' + reason + '\n\t'
+endforeach
+message(output_message + '\n')