summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2005-05-02 20:39:12 +0000
committerPaul Mundt <lethal@linux-sh.org>2005-05-02 20:39:12 +0000
commit48f9b7862e0231eae2c6a05378ced5e8769b2db9 (patch)
tree398113e013ae8456975394dd15d70dfd9542fdfe
parent50b47fadcc915efae2ffc46fe46dfdf80f8d8809 (diff)
downloadbuildroot-48f9b7862e0231eae2c6a05378ced5e8769b2db9.tar.gz
buildroot-48f9b7862e0231eae2c6a05378ced5e8769b2db9.zip
Get the board-specific dependencies right.
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.
-rw-r--r--target/device/AMD/Config.in6
-rw-r--r--target/device/Soekris/Config.in4
2 files changed, 9 insertions, 1 deletions
diff --git a/target/device/AMD/Config.in b/target/device/AMD/Config.in
index 5d5cc29edd..d6c46a977a 100644
--- a/target/device/AMD/Config.in
+++ b/target/device/AMD/Config.in
@@ -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/
-
diff --git a/target/device/Soekris/Config.in b/target/device/Soekris/Config.in
index a997f7369b..6075db433e 100644
--- a/target/device/Soekris/Config.in
+++ b/target/device/Soekris/Config.in
@@ -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.
OpenPOWER on IntegriCloud