diff mbox series

[05/10] drivers/compress: add reasons for components being disabled

Message ID 20190605202248.394-6-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series enhance meson summary - list disabled components | expand

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson June 5, 2019, 8:22 p.m. UTC
For each driver where we optionally disable it, add in the reason why it's
being disabled, so the user knows how to fix it.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/compress/isal/meson.build | 3 ++-
 drivers/compress/zlib/meson.build | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/compress/isal/meson.build b/drivers/compress/isal/meson.build
index 94c10fd60..67b5c4aae 100644
--- a/drivers/compress/isal/meson.build
+++ b/drivers/compress/isal/meson.build
@@ -3,7 +3,8 @@ 
 
 dep = dependency('libisal', required: false)
 if not dep.found()
-       build =false
+	build = false
+	reason = 'missing dependency, "libisal"'
 endif
 
 deps += 'bus_vdev'
diff --git a/drivers/compress/zlib/meson.build b/drivers/compress/zlib/meson.build
index b036703c7..b1328c535 100644
--- a/drivers/compress/zlib/meson.build
+++ b/drivers/compress/zlib/meson.build
@@ -4,6 +4,7 @@ 
 dep = dependency('zlib', required: false)
 if not dep.found()
 	build = false
+	reason = 'missing dependency, "zlib"'
 endif
 
 deps += 'bus_vdev'