move Netus G20 into a subtarget and rework toplevel config and makefile
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 27 Jan 2011 20:57:01 +0000 (20:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 27 Jan 2011 20:57:01 +0000 (20:57 +0000)
SVN-Revision: 25165

target/linux/at91/Makefile
target/linux/at91/config-default
target/linux/at91/netus/config-default [new file with mode: 0644]
target/linux/at91/netus/target.mk [new file with mode: 0644]

index 03ebe22ce4c649b7d573a2ae0b13a1fd81bc6d04..d06bb842e38ea359950794af95533e220f6529f1 100644 (file)
@@ -12,6 +12,7 @@ MAINTAINER:=Claudio Mignanti <c.mignanti@gmail.com>
 BOARDNAME:=Atmel AT91
 FEATURES:=squashfs jffs2 targz
 CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -funit-at-a-time
+SUBTARGETS:=netus tqma9263
 
 LINUX_VERSION:=2.6.35.9
 DEVICE_TYPE=
@@ -21,8 +22,4 @@ include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES+= kmod-usb-ohci
 KERNELNAME:="uImage"
 
-define Target/Description
-       Build firmware images for Acmesystems NetusG20 board
-endef
-
 $(eval $(call BuildTarget))
index 869988aef9eaa1b408c6517b087dd338a6b1a726..5e3247f70d2c55f0dfdacb389ac69f4c4849c691 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_AT91SAM9261 is not set
 # CONFIG_ARCH_AT91SAM9263 is not set
 # CONFIG_ARCH_AT91SAM9G10 is not set
-CONFIG_ARCH_AT91SAM9G20=y
+# CONFIG_ARCH_AT91SAM9G20 is not set
 # CONFIG_ARCH_AT91SAM9G45 is not set
 # CONFIG_ARCH_AT91SAM9RL is not set
 # CONFIG_ARCH_AT91X40 is not set
@@ -111,7 +111,7 @@ CONFIG_MACB=y
 # CONFIG_MACH_AT91SAM9G20EK is not set
 # CONFIG_MACH_AT91SAM9G20EK_2MMC is not set
 # CONFIG_MACH_CPU9G20 is not set
-CONFIG_MACH_NETUS_FOXBOARD=y
+# CONFIG_MACH_NETUS_FOXBOARD is not set
 # CONFIG_MACH_PORTUXG20 is not set
 # CONFIG_MACH_STAMP9G20 is not set
 # CONFIG_MFD_T7L66XB is not set
diff --git a/target/linux/at91/netus/config-default b/target/linux/at91/netus/config-default
new file mode 100644 (file)
index 0000000..c965f23
--- /dev/null
@@ -0,0 +1,8 @@
+CONFIG_ARCH_AT91SAM9G20=y
+# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
+CONFIG_CRC16=y
+CONFIG_JBD2=y
+CONFIG_MACH_NETUS_FOXBOARD=y
+# CONFIG_USB_FUNCTIONFS is not set
+# CONFIG_USB_G_HID is not set
+# CONFIG_USB_G_WEBCAM is not set
diff --git a/target/linux/at91/netus/target.mk b/target/linux/at91/netus/target.mk
new file mode 100644 (file)
index 0000000..ec9b90a
--- /dev/null
@@ -0,0 +1,10 @@
+# 
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+
+SUBTARGET:=netus
+BOARDNAME:=Acmesystems NetusG20 board
+
+define Target/Description
+       Build firmware images for Acmesystems NetusG20 board
+endef