From: Florian Fainelli Date: Wed, 3 Sep 2014 03:08:51 +0000 (+0000) Subject: at91: create a legacy subtarget X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c2b92f9ef46119e04ea71afe718d1cefe03f6caf;p=openwrt%2Fsvn-archive%2Fopenwrt.git at91: create a legacy subtarget In preparation for adding SAMA5D3 support, move the legacy ARMv5 based platforms to a separate subtarget. Signed-off-by: Florian Fainelli SVN-Revision: 42408 --- diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index 01fc4dd85f..47fc2f67df 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -11,7 +11,7 @@ BOARD:=at91 MAINTAINER:=Claudio Mignanti BOARDNAME:=Atmel AT91 FEATURES:=squashfs targz ext2 usb -CPU_TYPE:=arm926ej-s +SUBTARGETS:=legacy LINUX_VERSION:=3.10.49 diff --git a/target/linux/at91/legacy/profiles/00-default.mk b/target/linux/at91/legacy/profiles/00-default.mk new file mode 100644 index 0000000000..3ff040d2e4 --- /dev/null +++ b/target/linux/at91/legacy/profiles/00-default.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef + +$(eval $(call Profile,Default)) diff --git a/target/linux/at91/legacy/profiles/atmel.mk b/target/linux/at91/legacy/profiles/atmel.mk new file mode 100644 index 0000000000..4b14f939ee --- /dev/null +++ b/target/linux/at91/legacy/profiles/atmel.mk @@ -0,0 +1,86 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/AT91SAM9263EK + NAME:=Atmel AT91SAM9263-EK +endef +define Profile/AT91SAM9263EK/Description + Atmel AT91SAM9263-EK eval board +endef +$(eval $(call Profile,AT91SAM9263EK)) + + +define Profile/AT91SAM9G15EK + NAME:=Atmel AT91SAM9G15-EK +endef +define Profile/AT91SAM9G15EK/Description + Atmel AT91SAM9G15-EK eval board +endef +$(eval $(call Profile,AT91SAM9G15EK)) + + +define Profile/AT91SAM9G20EK + NAME:=Atmel AT91SAM9G20-EK +endef +define Profile/AT91SAM9G20EK/Description + Atmel AT91SAM9G20-EK eval board +endef +$(eval $(call Profile,AT91SAM9G20EK)) + + +define Profile/AT91SAM9G20EK-2MMC + NAME:=Atmel AT91SAM9G20-EK 2MMC +endef +define Profile/AT91SAM9G20EK-2MMC/Description + Atmel AT91SAM9G20-EK eval board with 2 MMC +endef +$(eval $(call Profile,AT91SAM9G20EK-2MMC)) + + +define Profile/AT91SAM9G25EK + NAME:=Atmel AT91SAM9G25-EK +endef +define Profile/AT91SAM9G25EK/Description + Atmel AT91SAM9G25-EK eval board +endef +$(eval $(call Profile,AT91SAM9G25EK)) + + +define Profile/AT91SAM9G35EK + NAME:=Atmel AT91SAM9G35-EK +endef +define Profile/AT91SAM9G35EK/Description + Atmel AT91SAM9G35-EK eval board +endef +$(eval $(call Profile,AT91SAM9G35EK)) + + +define Profile/AT91SAM9M10G45EK + NAME:=Atmel AT91SAM9M10G45-EK +endef +define Profile/AT91SAM9M10G45EK/Description + Atmel AT91SAM9M10G45-EK eval board +endef +$(eval $(call Profile,AT91SAM9M10G45EK)) + + +define Profile/AT91SAM9X25EK + NAME:=Atmel AT91SAM9X25-EK +endef +define Profile/AT91SAM9X25EK/Description + Atmel AT91SAM9X25-EK eval board +endef +$(eval $(call Profile,AT91SAM9X25EK)) + + +define Profile/AT91SAM9X35EK + NAME:=Atmel AT91SAM9X35-EK +endef +define Profile/AT91SAM9X35EK/Description + Atmel AT91SAM9X35-EK eval board +endef +$(eval $(call Profile,AT91SAM9X35EK)) diff --git a/target/linux/at91/legacy/profiles/calamp.mk b/target/linux/at91/legacy/profiles/calamp.mk new file mode 100644 index 0000000000..33f78e17ac --- /dev/null +++ b/target/linux/at91/legacy/profiles/calamp.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/LMU5000 + NAME:=CalAmp LMU5000 + PACKAGES:= \ + kmod-rtc-pcf2123 \ + kmod-usb-acm \ + kmod-usb-serial \ + kmod-usb-serial-option \ + kmod-usb-serial-sierrawireless \ + kmod-gpio-mcp23s08 +endef + +define Profile/LMU5000/Description + CalAmp LMU5000 +endef + +$(eval $(call Profile,LMU5000)) diff --git a/target/linux/at91/legacy/target.mk b/target/linux/at91/legacy/target.mk new file mode 100644 index 0000000000..a3d99bbfb2 --- /dev/null +++ b/target/linux/at91/legacy/target.mk @@ -0,0 +1,7 @@ +BOARDNAME:=Legacy (ARMv5) +CPU_TYPE:=arm926ej-s + +define Target/Description + Build generic firmware for legacy Atmel AT91 platforms + using the ARMv5 instruction set. +endef diff --git a/target/linux/at91/profiles/00-default.mk b/target/linux/at91/profiles/00-default.mk deleted file mode 100644 index 3ff040d2e4..0000000000 --- a/target/linux/at91/profiles/00-default.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Default - NAME:=Default Profile -endef - -define Profile/Default/Description - Default package set compatible with most boards. -endef - -$(eval $(call Profile,Default)) diff --git a/target/linux/at91/profiles/atmel.mk b/target/linux/at91/profiles/atmel.mk deleted file mode 100644 index 4b14f939ee..0000000000 --- a/target/linux/at91/profiles/atmel.mk +++ /dev/null @@ -1,86 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/AT91SAM9263EK - NAME:=Atmel AT91SAM9263-EK -endef -define Profile/AT91SAM9263EK/Description - Atmel AT91SAM9263-EK eval board -endef -$(eval $(call Profile,AT91SAM9263EK)) - - -define Profile/AT91SAM9G15EK - NAME:=Atmel AT91SAM9G15-EK -endef -define Profile/AT91SAM9G15EK/Description - Atmel AT91SAM9G15-EK eval board -endef -$(eval $(call Profile,AT91SAM9G15EK)) - - -define Profile/AT91SAM9G20EK - NAME:=Atmel AT91SAM9G20-EK -endef -define Profile/AT91SAM9G20EK/Description - Atmel AT91SAM9G20-EK eval board -endef -$(eval $(call Profile,AT91SAM9G20EK)) - - -define Profile/AT91SAM9G20EK-2MMC - NAME:=Atmel AT91SAM9G20-EK 2MMC -endef -define Profile/AT91SAM9G20EK-2MMC/Description - Atmel AT91SAM9G20-EK eval board with 2 MMC -endef -$(eval $(call Profile,AT91SAM9G20EK-2MMC)) - - -define Profile/AT91SAM9G25EK - NAME:=Atmel AT91SAM9G25-EK -endef -define Profile/AT91SAM9G25EK/Description - Atmel AT91SAM9G25-EK eval board -endef -$(eval $(call Profile,AT91SAM9G25EK)) - - -define Profile/AT91SAM9G35EK - NAME:=Atmel AT91SAM9G35-EK -endef -define Profile/AT91SAM9G35EK/Description - Atmel AT91SAM9G35-EK eval board -endef -$(eval $(call Profile,AT91SAM9G35EK)) - - -define Profile/AT91SAM9M10G45EK - NAME:=Atmel AT91SAM9M10G45-EK -endef -define Profile/AT91SAM9M10G45EK/Description - Atmel AT91SAM9M10G45-EK eval board -endef -$(eval $(call Profile,AT91SAM9M10G45EK)) - - -define Profile/AT91SAM9X25EK - NAME:=Atmel AT91SAM9X25-EK -endef -define Profile/AT91SAM9X25EK/Description - Atmel AT91SAM9X25-EK eval board -endef -$(eval $(call Profile,AT91SAM9X25EK)) - - -define Profile/AT91SAM9X35EK - NAME:=Atmel AT91SAM9X35-EK -endef -define Profile/AT91SAM9X35EK/Description - Atmel AT91SAM9X35-EK eval board -endef -$(eval $(call Profile,AT91SAM9X35EK)) diff --git a/target/linux/at91/profiles/calamp.mk b/target/linux/at91/profiles/calamp.mk deleted file mode 100644 index 33f78e17ac..0000000000 --- a/target/linux/at91/profiles/calamp.mk +++ /dev/null @@ -1,23 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/LMU5000 - NAME:=CalAmp LMU5000 - PACKAGES:= \ - kmod-rtc-pcf2123 \ - kmod-usb-acm \ - kmod-usb-serial \ - kmod-usb-serial-option \ - kmod-usb-serial-sierrawireless \ - kmod-gpio-mcp23s08 -endef - -define Profile/LMU5000/Description - CalAmp LMU5000 -endef - -$(eval $(call Profile,LMU5000))