[05/10] drivers/compress: add reasons for components being disabled
Checks
Commit Message
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(-)
@@ -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'
@@ -4,6 +4,7 @@
dep = dependency('zlib', required: false)
if not dep.found()
build = false
+ reason = 'missing dependency, "zlib"'
endif
deps += 'bus_vdev'