summaryrefslogtreecommitdiff
path: root/drivers/meson.build
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2018-08-29 17:19:20 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-09-17 13:58:40 +0200
commit806c45dd483dfec319028758210d9faee731ca8e (patch)
tree9d6d743cd56f2447436be3d1f1a1e60de464f6d8 /drivers/meson.build
parent34b3d7a4a4b374b0a46808fa492b589426179e0e (diff)
downloaddpdk-next-eventdev-806c45dd483dfec319028758210d9faee731ca8e.zip
dpdk-next-eventdev-806c45dd483dfec319028758210d9faee731ca8e.tar.gz
dpdk-next-eventdev-806c45dd483dfec319028758210d9faee731ca8e.tar.xz
build: add configuration summary at end of config
After running meson to configure a DPDK build, it can be useful to know what was automatically enabled or disabled. Therefore, print out by way of summary a categorised list of libraries and drivers to be built. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'drivers/meson.build')
-rw-r--r--drivers/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/meson.build b/drivers/meson.build
index f94e2fe..b6ce974 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -24,6 +24,7 @@ foreach class:driver_classes
# version file for linking
subdir(class)
+ class_drivers = []
foreach drv:drivers
drv_path = join_paths(class, drv)
@@ -51,6 +52,8 @@ foreach class:driver_classes
subdir(drv_path)
if build
+ class_drivers += name
+
dpdk_conf.set(config_flag_fmt.format(name.to_upper()),1)
lib_name = driver_name_fmt.format(name)
@@ -141,4 +144,6 @@ foreach class:driver_classes
set_variable('static_@0@'.format(lib_name), static_dep)
endif # build
endforeach
+
+ set_variable(class + '_drivers', class_drivers)
endforeach