浏览代码

Clean up ARM Ltd BSP

Ulf Samuelsson 16 年之前
父节点
当前提交
7f44fb1ae2

+ 27 - 6
target/device/ARMLTD/Config.in

@@ -5,16 +5,37 @@ menuconfig BR2_TARGET_ARMLTD
 comment "Arm based Device Support"
 	depends on BR2_arm && BR2_TARGET_ARMLTD
 
+
+if BR2_TARGET_ARMLTD
+
+choice
+	prompt "Controller board"
+	help
+	  ARM Ltd. Controller Board to build for
+
 config BR2_TARGET_ARM_INTEGRATOR_926
 	bool "Integrator arm926"
 	depends on BR2_arm && BR2_TARGET_ARMLTD
 	default y
-	select BR2_PACKAGE_LINUX
 	select BR2_ARM_EABI
-	select BR2_KERNEL_HEADERS_2_6_22
-	select BR2_PTHREADS
 	select BR2_arm926t
-	help
-	  An ARM integrator 926 board for use with qemu.
-	  This one has an MMU.
 
+config BR2_TARGET_ARM_INTEGRATOR_926_HUGE
+	bool "Integrator arm926 (Huge)"
+	depends on BR2_arm && BR2_TARGET_ARMLTD
+	default y
+	select BR2_ARM_EABI
+	select BR2_arm926t
+
+endchoice
+
+config BR2_BOARD_NAME
+	string
+	default "integrator926"		if BR2_TARGET_ARM_INTEGRATOR_926
+	default "integrator926_huge"	if BR2_TARGET_ARM_INTEGRATOR_926
+
+config BR2_BOARD_PATH
+	string "Board Path"
+	default "target/device/ARMLTD/$(BR2_BOARD_NAME)"
+
+endif

+ 1 - 1
target/device/ARMLTD/Makefile.in

@@ -3,7 +3,7 @@ LINUX26_KCONFIG:=target/device/Arm/linux26.integrator926.config
 TARGETS+=linux26
 
 ifndef UCLIBC_CONFIG_FILE
-UCLIBC_CONFIG_FILE:=target/device/Arm/uClibc.integrator926.config
+UCLIBC_CONFIG_FILE:=target/device/ARM/uClibc.integrator926.config
 endif
 
 # pin some settings

+ 0 - 0
target/device/ARMLTD/integrator926_defconfig → target/device/ARMLTD/integrator926/integrator926_defconfig


+ 0 - 0
target/device/ARMLTD/linux26.integrator926.config → target/device/ARMLTD/integrator926/linux-2.6.22.9.config


+ 0 - 0
target/device/ARMLTD/integrator926_huge_defconfig → target/device/ARMLTD/integrator926_huge/integrator926_huge_defconfig


+ 0 - 0
target/device/ARMLTD/linux26.integrator926_huge.config → target/device/ARMLTD/integrator926_huge/linux-2.6.26.8.config


+ 1 - 0
target/device/Config.in

@@ -11,6 +11,7 @@ source "target/device/KwikByte/Config.in"
 source "target/device/valka/Config.in"
 
 comment "Generic Architecture support"
+	depends on BR2_i386
 
 source "target/device/x86/Config.in"