From: Jo-Philipp Wich Date: Thu, 27 Jan 2011 20:57:01 +0000 (+0000) Subject: move Netus G20 into a subtarget and rework toplevel config and makefile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e4f91c1ac77e162c872272c2724e4891cd54b7da;p=openwrt%2Fstaging%2Frmilecki.git move Netus G20 into a subtarget and rework toplevel config and makefile SVN-Revision: 25165 --- diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index 03ebe22ce4c..d06bb842e38 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -12,6 +12,7 @@ MAINTAINER:=Claudio Mignanti 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 869988aef9e..5e3247f70d2 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 00000000000..c965f2395ad --- /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 00000000000..ec9b90aa5be --- /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