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.richard...@intel.com>
---
 drivers/mempool/dpaa/meson.build  | 3 ++-
 drivers/mempool/dpaa2/meson.build | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/mempool/dpaa/meson.build b/drivers/mempool/dpaa/meson.build
index c4c8ebc09..b7446f174 100644
--- a/drivers/mempool/dpaa/meson.build
+++ b/drivers/mempool/dpaa/meson.build
@@ -2,7 +2,8 @@
 # Copyright 2018 NXP
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_dpaa']
diff --git a/drivers/mempool/dpaa2/meson.build 
b/drivers/mempool/dpaa2/meson.build
index 9a8b28d7c..3d25ba06d 100644
--- a/drivers/mempool/dpaa2/meson.build
+++ b/drivers/mempool/dpaa2/meson.build
@@ -4,7 +4,8 @@
 version = 2
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_fslmc']
-- 
2.21.0

Reply via email to