fmc: fmlib needs a linux kernel, so propagate dependency
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Jun 2014 07:43:35 +0000 (09:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Jun 2014 07:45:06 +0000 (09:45 +0200)
At the same time fixup the comments to only be visible if we are
on a suitable arch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fmc/Config.in

index 35de28eda4f1dd6869c7cf17b643653cd888ed45..a50f80da69738484dd387881fa51a26fcd78861a 100644 (file)
@@ -1,10 +1,16 @@
 comment "fmc needs a toolchain w/ C++"
+       depends on BR2_powerpc_e500mc
        depends on !BR2_INSTALL_LIBSTDCPP
 
+comment "fmc needs a Linux kernel to be built"
+       depends on BR2_powerpc_e500mc
+       depends on !BR2_LINUX_KERNEL
+
 config BR2_PACKAGE_FMC
        bool "fmc"
        depends on BR2_powerpc_e500mc
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_LINUX_KERNEL # fmlib
        select BR2_PACKAGE_TCLAP
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_FMLIB