Blspec is a consumer of the flexible bootargs mechanism, so it should
depend on it rather than select it.

Fixes:
warning: (BLSPEC && DEFAULT_ENVIRONMENT_GENERIC_NEW) selects FLEXIBLE_BOOTARGS
which has unmet direct dependencies (COMMAND_SUPPORT && CMD_GLOBAL)

Signed-off-by: Lucas Stach <[email protected]>
---
 common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/Kconfig b/common/Kconfig
index a2cce391f461..6583aabc44d9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -478,8 +478,8 @@ config TIMESTAMP
 
 config BLSPEC
        depends on BLOCK
+       depends on FLEXIBLE_BOOTARGS
        select OFTREE
-       select FLEXIBLE_BOOTARGS
        bool
        prompt "Support bootloader spec"
        help
-- 
2.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to