[dpdk-dev] [PATCH 03/10] drivers/bus: add reasons for components being disabled

Bruce Richardson bruce.richardson at intel.com
Wed Jun 5 22:22:41 CEST 2019


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 at intel.com>
---
 drivers/bus/dpaa/meson.build  | 3 ++-
 drivers/bus/fslmc/meson.build | 3 ++-
 drivers/bus/vmbus/meson.build | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build
index 1c8ca8c9a..19daaa5b5 100644
--- a/drivers/bus/dpaa/meson.build
+++ b/drivers/bus/dpaa/meson.build
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+	build = false
+	reason = 'only supported on linux'
 endif
 
 deps += ['common_dpaax', 'eventdev']
diff --git a/drivers/bus/fslmc/meson.build b/drivers/bus/fslmc/meson.build
index 04624c363..faebc4327 100644
--- a/drivers/bus/fslmc/meson.build
+++ b/drivers/bus/fslmc/meson.build
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+	build = false
+	reason = 'only supported on linux'
 endif
 
 deps += ['common_dpaax', 'eventdev', 'kvargs']
diff --git a/drivers/bus/vmbus/meson.build b/drivers/bus/vmbus/meson.build
index 9fd430dae..79d4c685e 100644
--- a/drivers/bus/vmbus/meson.build
+++ b/drivers/bus/vmbus/meson.build
@@ -17,4 +17,5 @@ if is_linux
 	includes += include_directories('linux')
 else
 	build = false
+	reason = 'only supported on linux'
 endif
-- 
2.21.0



More information about the dev mailing list