aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-27 20:57:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-27 20:57:01 +0000
commitd851aeec39a295fbeaad969d5da9bc0cf460f081 (patch)
tree0d0e9998a640afb5aed25051bd4c5bf9122217a8
parent53d234602aec246c68f134a82d745336d3d29c3e (diff)
downloadupstream-d851aeec39a295fbeaad969d5da9bc0cf460f081.tar.gz
upstream-d851aeec39a295fbeaad969d5da9bc0cf460f081.tar.bz2
upstream-d851aeec39a295fbeaad969d5da9bc0cf460f081.zip
[at91] move Netus G20 into a subtarget and rework toplevel config and makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25165 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/at91/Makefile5
-rw-r--r--target/linux/at91/config-default4
-rw-r--r--target/linux/at91/netus/config-default8
-rw-r--r--target/linux/at91/netus/target.mk10
4 files changed, 21 insertions, 6 deletions
diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile
index 03ebe22ce4..d06bb842e3 100644
--- a/target/linux/at91/Makefile
+++ b/target/linux/at91/Makefile
@@ -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))
diff --git a/target/linux/at91/config-default b/target/linux/at91/config-default
index 869988aef9..5e3247f70d 100644
--- a/target/linux/at91/config-default
+++ b/target/linux/at91/config-default
@@ -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
index 0000000000..c965f2395a
--- /dev/null
+++ b/target/linux/at91/netus/config-default
@@ -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
index 0000000000..ec9b90aa5b
--- /dev/null
+++ b/target/linux/at91/netus/target.mk
@@ -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