summaryrefslogtreecommitdiff
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
commite4f91c1ac77e162c872272c2724e4891cd54b7da (patch)
tree2ba11c7b700bce6396d661504552d473d1118651
parentc89c50614b53b0e9fdf2c060ff03c932acc122b6 (diff)
downloadmtk-20170518-e4f91c1ac77e162c872272c2724e4891cd54b7da.zip
mtk-20170518-e4f91c1ac77e162c872272c2724e4891cd54b7da.tar.gz
mtk-20170518-e4f91c1ac77e162c872272c2724e4891cd54b7da.tar.bz2
move Netus G20 into a subtarget and rework toplevel config and makefile
SVN-Revision: 25165
-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 03ebe22..d06bb84 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 869988a..5e3247f 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 0000000..c965f23
--- /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 0000000..ec9b90a
--- /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