Get the board-specific dependencies right.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 2 May 2005 20:39:12 +0000 (20:39 -0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 2 May 2005 20:39:12 +0000 (20:39 -0000)
Currently each board is dumping all of its config options regardless of
whether we are even on the right architecture or not (this is due to
outright sourcing of the configs at the upper level..). Dependency
resolution either needs to be done there, or at the board-specific level.

target/device/AMD/Config.in
target/device/Soekris/Config.in

index 5d5cc29eddce0d6f330bae68572280b3fc169bde..d6c46a977a41d38dc657e414a8cc6417c3230164 100644 (file)
@@ -1,4 +1,5 @@
 comment "AMD Specific Device Support"
+       depends BR2_mipsel || BR2_mips
 
 config BR2_TARGET_AMD_ALCHEMY
        bool "Board support for the AMD development boards"
@@ -15,10 +16,13 @@ config BR2_TARGET_AMD_ALCHEMY_DBAU1500
        help
          The AMD Alchemy DBAu1500 Development Board
 
+comment "Package support"
+       depends BR2_TARGET_AMD_ALCHEMY
+
 config BR2_PACKAGE_LINUX
        bool "linux"
        default n
+       depends BR2_TARGET_AMD_ALCHEMY
        help
            The Linux kernel.
            http://www.kernel.org/
-
index a997f7369bd732bf4a49f1528aa8c3b847c44621..6075db433edebb072739e631ce39a1e6fb71ae92 100644 (file)
@@ -6,8 +6,12 @@ config BR2_TARGET_SOEKRIS_NET4521
        help
          The Soekris net4521
 
+comment "Package support"
+       depends on BR2_TARGET_SOEKRIS_NET4521
+
 config BR2_PACKAGE_LINUX
        bool "linux"
+       depends on BR2_TARGET_SOEKRIS_NET4521
        default n
        help
            The Linux kernel.