From 48f9b7862e0231eae2c6a05378ced5e8769b2db9 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Mon, 2 May 2005 20:39:12 +0000 Subject: 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. --- target/device/AMD/Config.in | 6 +++++- target/device/Soekris/Config.in | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/target/device/AMD/Config.in b/target/device/AMD/Config.in index 5d5cc29ed..d6c46a977 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 a997f7369..6075db433 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. -- cgit v1.2.3