소스 검색

Do not include Soekris, unless i386 arch

Ulf Samuelsson 17 년 전
부모
커밋
9169fcccc9
2개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      target/device/Soekris/Config.in
  2. 3 0
      target/device/Soekris/Makefile.in

+ 7 - 1
target/device/Soekris/Config.in

@@ -1,6 +1,11 @@
+menuconfig BR2_TARGET_SOEKRIS
+	bool "Soekris device support"
+	depends BR2_i386
+	default n
+
+if BR2_TARGET_SOEKRIS
 config BR2_TARGET_SOEKRIS_NET4521
 	bool "Soekris net4521"
-	depends BR2_i386
 	default n
 	select BR2_PACKAGE_LINUX
 	help
@@ -17,3 +22,4 @@ config BR2_TARGET_SOEKRIS_NET4801
 comment "Package support"
 	depends on BR2_TARGET_SOEKRIS_NET4521 || BR2_TARGET_SOEKRIS_NET4801
 
+endif

+ 3 - 0
target/device/Soekris/Makefile.in

@@ -1,4 +1,6 @@
 # Override the default uClibc configuration
+ifeq ($(strip $(BR2_TARGET_SOEKRIS)),y)
+
 ifeq ($(strip $(BR2_TARGET_SOEKRIS_NET4521)),y)
 UCLIBC_CONFIG_FILE:=target/device/Soekris/net4521/uClibc.config
 BR2_PACKAGE_BUSYBOX_CONFIG:=target/device/Soekris/net4521/busybox.config
@@ -24,3 +26,4 @@ LINUX26_KCONFIG=$(BOARD_PATH)/linux26.config
 endif
 
 endif
+endif