diff mbox series

[07/10] drivers/event: add reasons for components being disabled

Message ID 20190605202248.394-8-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/event/dpaa/meson.build  | 1 +
 drivers/event/dpaa2/meson.build | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/event/dpaa/meson.build b/drivers/event/dpaa/meson.build
index 11b1fe669..c1e725475 100644
--- a/drivers/event/dpaa/meson.build
+++ b/drivers/event/dpaa/meson.build
@@ -3,6 +3,7 @@ 
 
 if not is_linux
 	build = false
+	reason = 'only supported on linux'
 endif
 deps += ['pmd_dpaa']
 sources = files('dpaa_eventdev.c')
diff --git a/drivers/event/dpaa2/meson.build b/drivers/event/dpaa2/meson.build
index a94bc5643..f7da7fad5 100644
--- a/drivers/event/dpaa2/meson.build
+++ b/drivers/event/dpaa2/meson.build
@@ -5,6 +5,7 @@  version = 2
 
 if not is_linux
 	build = false
+	reason = 'only supported on linux'
 endif
 deps += ['bus_vdev', 'pmd_dpaa2', 'pmd_dpaa2_sec']
 sources = files('dpaa2_hw_dpcon.c',