diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 19:55:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-08 19:55:42 +0000 |
commit | a9d683ca912b2c4837b2e65909c09ca01babe3df (patch) | |
tree | 6cbca6e13dd0bb18c9d9f1d4baa9a0ea7801b959 /target/linux | |
parent | 4a2e4920b1d909ca254853b0dce46af3123e8f74 (diff) | |
download | mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.zip mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.gz mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.bz2 |
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/Makefile | 2 | ||||
-rw-r--r-- | target/linux/adm5120/Makefile | 21 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/config-2.6.22 (renamed from target/linux/adm5120eb/config/default) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/image/Makefile (renamed from target/linux/adm5120eb/image/Makefile) | 0 | ||||
l--------- | target/linux/adm5120/router_be/image/lzma-loader (renamed from target/linux/adm5120eb/image/lzma-loader) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/profiles/090-Zyxel.mk (renamed from target/linux/adm5120eb/profiles/090-Zyxel.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/profiles/100-Texas.mk (renamed from target/linux/adm5120eb/profiles/100-Texas.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/profiles/110-Atheros.mk (renamed from target/linux/adm5120eb/profiles/110-Atheros.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/profiles/110-None.mk (renamed from target/linux/adm5120eb/profiles/110-None.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_be/target.mk | 9 | ||||
-rwxr-xr-x | target/linux/adm5120/router_le/base-files/default/sbin/wget2nand (renamed from target/linux/adm5120/base-files/default/sbin/wget2nand) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/config-2.6.22 (renamed from target/linux/adm5120/config/default) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/100-Atheros.mk (renamed from target/linux/adm5120/profiles/100-Atheros.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/105-Texas.mk (renamed from target/linux/adm5120/profiles/105-Texas.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/110-Ralink.mk (renamed from target/linux/adm5120/profiles/110-Ralink.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/200-None.mk (renamed from target/linux/adm5120/profiles/200-None.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/Cellvision.mk (renamed from target/linux/adm5120/profiles/Cellvision.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/profiles/RB1xx.mk (renamed from target/linux/adm5120/profiles/RB1xx.mk) | 0 | ||||
-rw-r--r-- | target/linux/adm5120/router_le/target.mk | 9 | ||||
-rw-r--r-- | target/linux/adm5120eb/Makefile | 27 | ||||
l--------- | target/linux/adm5120eb/files | 1 | ||||
l--------- | target/linux/adm5120eb/patches-2.6.22 | 1 | ||||
-rw-r--r-- | target/linux/amazon/Makefile | 7 | ||||
-rw-r--r-- | target/linux/amazon/config-2.6.21 (renamed from target/linux/amazon/config/default) | 0 | ||||
-rw-r--r-- | target/linux/amcc/Makefile | 6 | ||||
-rw-r--r-- | target/linux/amcc/config-2.6.21 (renamed from target/linux/amcc/config/default) | 0 | ||||
-rw-r--r-- | target/linux/ar7/Makefile | 6 | ||||
-rw-r--r-- | target/linux/ar7/config-2.6.22 (renamed from target/linux/ar7/config/default) | 0 | ||||
-rw-r--r-- | target/linux/at91/Makefile | 9 | ||||
-rw-r--r-- | target/linux/at91/config-2.6.22 (renamed from target/linux/at91/config/default) | 0 | ||||
-rw-r--r-- | target/linux/atheros/Makefile | 9 | ||||
-rw-r--r-- | target/linux/atheros/config-2.6.22 (renamed from target/linux/atheros/config/default) | 0 | ||||
-rw-r--r-- | target/linux/au1000/Makefile | 8 | ||||
-rw-r--r-- | target/linux/au1000/config-2.6.22 (renamed from target/linux/au1000/config/default) | 0 | ||||
-rw-r--r-- | target/linux/avr32/Makefile | 9 | ||||
-rw-r--r-- | target/linux/brcm-2.4/Makefile | 13 | ||||
-rw-r--r-- | target/linux/brcm-2.4/config-2.4.34 (renamed from target/linux/brcm-2.4/config/default) | 0 | ||||
-rw-r--r-- | target/linux/brcm47xx/Makefile | 8 | ||||
-rw-r--r-- | target/linux/brcm47xx/config-2.6.22 (renamed from target/linux/brcm47xx/config/default) | 0 | ||||
-rw-r--r-- | target/linux/brcm63xx/Makefile | 7 | ||||
-rw-r--r-- | target/linux/brcm63xx/config-2.6.22 (renamed from target/linux/brcm63xx/config/default) | 0 | ||||
-rw-r--r-- | target/linux/etrax/Makefile | 15 | ||||
-rw-r--r-- | target/linux/generic-2.4/config-default (renamed from target/linux/generic-2.4/config-template) | 0 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-default (renamed from target/linux/generic-2.6/config-template) | 0 | ||||
-rw-r--r-- | target/linux/iop32x/Makefile | 7 | ||||
-rw-r--r-- | target/linux/iop32x/config-2.6.21 (renamed from target/linux/iop32x/config/default) | 0 | ||||
-rw-r--r-- | target/linux/ixp4xx/Makefile | 7 | ||||
-rw-r--r-- | target/linux/ixp4xx/config-2.6.21 (renamed from target/linux/ixp4xx/config/default) | 0 | ||||
-rw-r--r-- | target/linux/magicbox/Makefile | 4 | ||||
-rw-r--r-- | target/linux/magicbox/config-2.6.22 (renamed from target/linux/magicbox/config/default) | 0 | ||||
-rw-r--r-- | target/linux/pxa/Makefile | 6 | ||||
-rw-r--r-- | target/linux/pxa/config-2.6.21 (renamed from target/linux/pxa/config/default) | 0 | ||||
-rw-r--r-- | target/linux/rb532/Makefile | 4 | ||||
-rw-r--r-- | target/linux/rb532/config-2.6.22 (renamed from target/linux/rb532/config/default) | 0 | ||||
-rw-r--r-- | target/linux/rdc/Makefile | 10 | ||||
-rw-r--r-- | target/linux/rdc/config-2.6.22 (renamed from target/linux/rdc/config/default) | 0 | ||||
-rw-r--r-- | target/linux/rdc/config/profile-wl153 | 2 | ||||
-rw-r--r-- | target/linux/sibyte/Makefile | 4 | ||||
-rw-r--r-- | target/linux/sibyte/config-2.6.21 (renamed from target/linux/sibyte/config/default) | 0 | ||||
-rw-r--r-- | target/linux/uml/Makefile | 4 | ||||
-rw-r--r-- | target/linux/x86/Makefile | 4 |
61 files changed, 96 insertions, 123 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile index 1eb579e..8288250 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -8,5 +8,5 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/target.mk prereq clean download prepare compile install menuconfig oldconfig update refresh: FORCE - $(MAKE) -C $(BOARD) $@ + TARGET_BUILD=1 $(MAKE) -C $(BOARD) $@ diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index f8436c0..34c3b80 100644 --- a/target/linux/adm5120/Makefile +++ b/target/linux/adm5120/Makefile @@ -1,27 +1,20 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # + include $(TOPDIR)/rules.mk -ARCH:=mipsel BOARD:=adm5120 -BOARDNAME:=ADM5120 (Little Endian) -FEATURES:=squashfs jffs2 tgz broken - LINUX_VERSION:=2.6.22.4 +FEATURES:=squashfs jffs2 tgz broken -define Target/Description - Build firmware images for Infineon/ADMtek ADM5120 based boards - (e.g : RouterBoard RB1xx, Compex WP54G-WRT ...) -endef +include $(INCLUDE_DIR)/target.mk -include $(INCLUDE_DIR)/kernel-build.mk DEFAULT_PACKAGES += admswconfig -# include the profiles --include profiles/*.mk - -$(eval $(call BuildKernel)) +$(eval $(call Target,router_be)) +$(eval $(call Target,router_le)) +$(eval $(call BuildTarget)) diff --git a/target/linux/adm5120eb/config/default b/target/linux/adm5120/router_be/config-2.6.22 index 96c2974..96c2974 100644 --- a/target/linux/adm5120eb/config/default +++ b/target/linux/adm5120/router_be/config-2.6.22 diff --git a/target/linux/adm5120eb/image/Makefile b/target/linux/adm5120/router_be/image/Makefile index f47b3ab..f47b3ab 100644 --- a/target/linux/adm5120eb/image/Makefile +++ b/target/linux/adm5120/router_be/image/Makefile diff --git a/target/linux/adm5120eb/image/lzma-loader b/target/linux/adm5120/router_be/image/lzma-loader index f472e6b..f472e6b 120000 --- a/target/linux/adm5120eb/image/lzma-loader +++ b/target/linux/adm5120/router_be/image/lzma-loader diff --git a/target/linux/adm5120eb/profiles/090-Zyxel.mk b/target/linux/adm5120/router_be/profiles/090-Zyxel.mk index b0741e8..b0741e8 100644 --- a/target/linux/adm5120eb/profiles/090-Zyxel.mk +++ b/target/linux/adm5120/router_be/profiles/090-Zyxel.mk diff --git a/target/linux/adm5120eb/profiles/100-Texas.mk b/target/linux/adm5120/router_be/profiles/100-Texas.mk index 727a0c0..727a0c0 100644 --- a/target/linux/adm5120eb/profiles/100-Texas.mk +++ b/target/linux/adm5120/router_be/profiles/100-Texas.mk diff --git a/target/linux/adm5120eb/profiles/110-Atheros.mk b/target/linux/adm5120/router_be/profiles/110-Atheros.mk index cc4a704..cc4a704 100644 --- a/target/linux/adm5120eb/profiles/110-Atheros.mk +++ b/target/linux/adm5120/router_be/profiles/110-Atheros.mk diff --git a/target/linux/adm5120eb/profiles/110-None.mk b/target/linux/adm5120/router_be/profiles/110-None.mk index 2fcfacd..2fcfacd 100644 --- a/target/linux/adm5120eb/profiles/110-None.mk +++ b/target/linux/adm5120/router_be/profiles/110-None.mk diff --git a/target/linux/adm5120/router_be/target.mk b/target/linux/adm5120/router_be/target.mk new file mode 100644 index 0000000..0d9154c --- /dev/null +++ b/target/linux/adm5120/router_be/target.mk @@ -0,0 +1,9 @@ +ARCH:=mips +SUBTARGET:=router_be +BOARDNAME:=ADM5120 Boards (Big Endian) + +define Target/Description + Build firmware images for Infineon/ADMTek ADM5120 based boards running in big-endian mode + (e.g : ZyXEL Prestige 335WT ...) +endef + diff --git a/target/linux/adm5120/base-files/default/sbin/wget2nand b/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand index adb56b9..adb56b9 100755 --- a/target/linux/adm5120/base-files/default/sbin/wget2nand +++ b/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand diff --git a/target/linux/adm5120/config/default b/target/linux/adm5120/router_le/config-2.6.22 index 593d98c..593d98c 100644 --- a/target/linux/adm5120/config/default +++ b/target/linux/adm5120/router_le/config-2.6.22 diff --git a/target/linux/adm5120/profiles/100-Atheros.mk b/target/linux/adm5120/router_le/profiles/100-Atheros.mk index 0295868..0295868 100644 --- a/target/linux/adm5120/profiles/100-Atheros.mk +++ b/target/linux/adm5120/router_le/profiles/100-Atheros.mk diff --git a/target/linux/adm5120/profiles/105-Texas.mk b/target/linux/adm5120/router_le/profiles/105-Texas.mk index 727a0c0..727a0c0 100644 --- a/target/linux/adm5120/profiles/105-Texas.mk +++ b/target/linux/adm5120/router_le/profiles/105-Texas.mk diff --git a/target/linux/adm5120/profiles/110-Ralink.mk b/target/linux/adm5120/router_le/profiles/110-Ralink.mk index d30ee73..d30ee73 100644 --- a/target/linux/adm5120/profiles/110-Ralink.mk +++ b/target/linux/adm5120/router_le/profiles/110-Ralink.mk diff --git a/target/linux/adm5120/profiles/200-None.mk b/target/linux/adm5120/router_le/profiles/200-None.mk index 2fcfacd..2fcfacd 100644 --- a/target/linux/adm5120/profiles/200-None.mk +++ b/target/linux/adm5120/router_le/profiles/200-None.mk diff --git a/target/linux/adm5120/profiles/Cellvision.mk b/target/linux/adm5120/router_le/profiles/Cellvision.mk index 6912f13..6912f13 100644 --- a/target/linux/adm5120/profiles/Cellvision.mk +++ b/target/linux/adm5120/router_le/profiles/Cellvision.mk diff --git a/target/linux/adm5120/profiles/RB1xx.mk b/target/linux/adm5120/router_le/profiles/RB1xx.mk index 9dd3de0..9dd3de0 100644 --- a/target/linux/adm5120/profiles/RB1xx.mk +++ b/target/linux/adm5120/router_le/profiles/RB1xx.mk diff --git a/target/linux/adm5120/router_le/target.mk b/target/linux/adm5120/router_le/target.mk new file mode 100644 index 0000000..61da333 --- /dev/null +++ b/target/linux/adm5120/router_le/target.mk @@ -0,0 +1,9 @@ +ARCH:=mipsel +SUBTARGET:=router_le +BOARDNAME:=ADM5120 Boards (Little Endian) + +define Target/Description + Build firmware images for Infineon/ADMtek ADM5120 based boards + (e.g : RouterBoard RB1xx, Compex WP54G-WRT ...) +endef + diff --git a/target/linux/adm5120eb/Makefile b/target/linux/adm5120eb/Makefile deleted file mode 100644 index 9205c8b..0000000 --- a/target/linux/adm5120eb/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -include $(TOPDIR)/rules.mk - -ARCH:=mips -BOARD:=adm5120eb -BOARDNAME:=ADM5120 (Big Endian) -FEATURES:=squashfs pci usb broken - -LINUX_VERSION:=2.6.22.4 - -define Target/Description - Build firmware images for Infineon/ADMTek ADM5120 based boards running in big-endian mode - (e.g : ZyXEL Prestige 335WT ...) -endef - -include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += admswconfig - -# include the profiles --include profiles/*.mk - -$(eval $(call BuildKernel)) diff --git a/target/linux/adm5120eb/files b/target/linux/adm5120eb/files deleted file mode 120000 index aadc1cd..0000000 --- a/target/linux/adm5120eb/files +++ /dev/null @@ -1 +0,0 @@ -../adm5120/files
\ No newline at end of file diff --git a/target/linux/adm5120eb/patches-2.6.22 b/target/linux/adm5120eb/patches-2.6.22 deleted file mode 120000 index 09e7342..0000000 --- a/target/linux/adm5120eb/patches-2.6.22 +++ /dev/null @@ -1 +0,0 @@ -../adm5120/patches-2.6.22
\ No newline at end of file diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index 1967d52..17f9d96 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -10,6 +10,9 @@ ARCH:=mips BOARD:=amazon BOARDNAME:=Infineon Amazon FEATURES:=squashfs jffs2 broken +LINUX_VERSION:=2.6.21.5 + +include $(INCLUDE_DIR)/target.mk define Target/Description Build firmware images for Infineon Amazon boards @@ -17,9 +20,7 @@ endef KERNELNAME:="uImage" -include $(INCLUDE_DIR)/kernel-build.mk - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/amazon/config/default b/target/linux/amazon/config-2.6.21 index 2229e63..2229e63 100644 --- a/target/linux/amazon/config/default +++ b/target/linux/amazon/config-2.6.21 diff --git a/target/linux/amcc/Makefile b/target/linux/amcc/Makefile index 4dd366c..a35783b 100644 --- a/target/linux/amcc/Makefile +++ b/target/linux/amcc/Makefile @@ -13,13 +13,13 @@ FEATURES:=jffs2 LINUX_VERSION:=2.6.21.5 +include $(INCLUDE_DIR)/target.mk + define Target/Description Build firmware images for the AMCC Taishan evaluation board endef -include $(INCLUDE_DIR)/kernel-build.mk - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/amcc/config/default b/target/linux/amcc/config-2.6.21 index d0fccac..d0fccac 100644 --- a/target/linux/amcc/config/default +++ b/target/linux/amcc/config-2.6.21 diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile index 0beb8ae..772222a 100644 --- a/target/linux/ar7/Makefile +++ b/target/linux/ar7/Makefile @@ -13,12 +13,12 @@ FEATURES:=squashfs jffs2 atm LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + define Target/Description Build firmware images for TI AR7 based routers endef -include $(INCLUDE_DIR)/kernel-build.mk - -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/ar7/config/default b/target/linux/ar7/config-2.6.22 index 605140a..605140a 100644 --- a/target/linux/ar7/config/default +++ b/target/linux/ar7/config-2.6.22 diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index f8ca6f6..7a9a1ad 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -14,14 +14,15 @@ FEATURES:=squashfs usb #LINUX_VERSION:=2.6.21.5 LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + +KERNELNAME:="uImage" + define Target/Description Build fimware images for Figment Design Labs VersaLink board. endef -include $(INCLUDE_DIR)/kernel-build.mk - #include the profiles -include profiles/*.mk -KERNELNAME:="uImage" -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/at91/config/default b/target/linux/at91/config-2.6.22 index 5e74bd6..5e74bd6 100644 --- a/target/linux/at91/config/default +++ b/target/linux/at91/config-2.6.22 diff --git a/target/linux/atheros/Makefile b/target/linux/atheros/Makefile index 611345f..fc48efd 100644 --- a/target/linux/atheros/Makefile +++ b/target/linux/atheros/Makefile @@ -13,14 +13,15 @@ FEATURES:=squashfs jffs2 LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + +DEFAULT_PACKAGES += kmod-madwifi + define Target/Description Build firmware images for Atheros SoC boards endef -include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += kmod-madwifi - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/atheros/config/default b/target/linux/atheros/config-2.6.22 index 497f149..497f149 100644 --- a/target/linux/atheros/config/default +++ b/target/linux/atheros/config-2.6.22 diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile index d7b9f73..f7dcb03 100644 --- a/target/linux/au1000/Makefile +++ b/target/linux/au1000/Makefile @@ -13,14 +13,14 @@ FEATURES:=jffs2 usb pci LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk +DEFAULT_PACKAGES += yamonenv + define Target/Description Build firmware for AMD Alchemy 1500 boards (e.g. 4G-Systems Mesh/Access Cube ...) endef -include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += yamonenv - define Kernel/BuildImage $(call Kernel/BuildImage/Default) $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec @@ -30,5 +30,5 @@ endef # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/au1000/config/default b/target/linux/au1000/config-2.6.22 index e197928..e197928 100644 --- a/target/linux/au1000/config/default +++ b/target/linux/au1000/config-2.6.22 diff --git a/target/linux/avr32/Makefile b/target/linux/avr32/Makefile index 4ab8534..01d5838 100644 --- a/target/linux/avr32/Makefile +++ b/target/linux/avr32/Makefile @@ -10,18 +10,15 @@ ARCH:=avr32 BOARD:=avr32 BOARDNAME:=Atmel AVR32 FEATURES:=squashfs - LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + define Target/Description Build firmware images for ATNGW100 board endef -KERNEL:=2.6 - -include $(INCLUDE_DIR)/kernel-build.mk - #include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/brcm-2.4/Makefile b/target/linux/brcm-2.4/Makefile index ed7336d..da5cf64 100644 --- a/target/linux/brcm-2.4/Makefile +++ b/target/linux/brcm-2.4/Makefile @@ -11,17 +11,18 @@ BOARD:=brcm-2.4 BOARDNAME:=Broadcom BCM947xx/953xx FEATURES:=squashfs +KERNEL:=2.4 + +include $(INCLUDE_DIR)/target.mk + +DEFAULT_PACKAGES += kmod-switch kmod-diag nvram + define Target/Description Build firmware images for Broadcom based routers (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G) endef -KERNEL:=2.4 - -include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += kmod-switch kmod-diag nvram - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/brcm-2.4/config/default b/target/linux/brcm-2.4/config-2.4.34 index 72f6f86..72f6f86 100644 --- a/target/linux/brcm-2.4/config/default +++ b/target/linux/brcm-2.4/config-2.4.34 diff --git a/target/linux/brcm47xx/Makefile b/target/linux/brcm47xx/Makefile index 11485fe..5804ee9 100644 --- a/target/linux/brcm47xx/Makefile +++ b/target/linux/brcm47xx/Makefile @@ -13,15 +13,15 @@ FEATURES:=squashfs usb LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk +DEFAULT_PACKAGES += kmod-switch kmod-diag + define Target/Description Build firmware images for Broadcom based routers (e.g. Netgear WGT634U) endef -include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += kmod-switch kmod-diag - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/brcm47xx/config/default b/target/linux/brcm47xx/config-2.6.22 index 8e88aab..8e88aab 100644 --- a/target/linux/brcm47xx/config/default +++ b/target/linux/brcm47xx/config-2.6.22 diff --git a/target/linux/brcm63xx/Makefile b/target/linux/brcm63xx/Makefile index 32bfd06..93670c6 100644 --- a/target/linux/brcm63xx/Makefile +++ b/target/linux/brcm63xx/Makefile @@ -10,17 +10,16 @@ ARCH:=mips BOARD:=brcm63xx BOARDNAME:=Broadcom BCM963xx FEATURES:=squashfs jffs2 broken usb atm - LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + define Target/Description Build firmware images for Broadcom based xDSL/routers (e.g. Inventel Livebox, Siemens SE515) endef -include $(INCLUDE_DIR)/kernel-build.mk - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/brcm63xx/config/default b/target/linux/brcm63xx/config-2.6.22 index abef335..abef335 100644 --- a/target/linux/brcm63xx/config/default +++ b/target/linux/brcm63xx/config-2.6.22 diff --git a/target/linux/etrax/Makefile b/target/linux/etrax/Makefile index 7c9b76f..c837550 100644 --- a/target/linux/etrax/Makefile +++ b/target/linux/etrax/Makefile @@ -12,7 +12,10 @@ BOARDNAME:=Foxboard (ETRAX 100LX) FEATURES:=squashfs jffs2 LINUX_VERSION:=2.6.19.2 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk + +KERNELNAME:="zImage" +DEFAULT_PACKAGES += foxboard-utils define Target/Description Build fimware images for the FOXBOARD made by acmesystems.it @@ -31,14 +34,10 @@ define Kernel/Prepare $(call Kernel/Prepare/Fox) endef -DEFAULT_PACKAGES += foxboard-utils +#include the profiles +-include profiles/*.mk +$(eval $(call BuildTarget)) $(eval $(call RequireCommand,/usr/local/cris/gcc-cris, \ Please install the binary cris toolchain. \ )) - -#include the profiles --include profiles/*.mk - -KERNELNAME:="zImage" -$(eval $(call BuildKernel)) diff --git a/target/linux/generic-2.4/config-template b/target/linux/generic-2.4/config-default index 9f33ef4..9f33ef4 100644 --- a/target/linux/generic-2.4/config-template +++ b/target/linux/generic-2.4/config-default diff --git a/target/linux/generic-2.6/config-template b/target/linux/generic-2.6/config-default index 28ff32b..28ff32b 100644 --- a/target/linux/generic-2.6/config-template +++ b/target/linux/generic-2.6/config-default diff --git a/target/linux/iop32x/Makefile b/target/linux/iop32x/Makefile index 529a7e0..c097955 100644 --- a/target/linux/iop32x/Makefile +++ b/target/linux/iop32x/Makefile @@ -13,12 +13,9 @@ FEATURES:=squashfs jffs2 LINUX_VERSION:=2.6.21.5 -define Target/Description -endef - -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/iop32x/config/default b/target/linux/iop32x/config-2.6.21 index c132559..c132559 100644 --- a/target/linux/iop32x/config/default +++ b/target/linux/iop32x/config-2.6.21 diff --git a/target/linux/ixp4xx/Makefile b/target/linux/ixp4xx/Makefile index 25b60a4..f68f62b 100644 --- a/target/linux/ixp4xx/Makefile +++ b/target/linux/ixp4xx/Makefile @@ -13,12 +13,9 @@ FEATURES:=squashfs LINUX_VERSION:=2.6.21.6 -define Target/Description -endef - -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/ixp4xx/config/default b/target/linux/ixp4xx/config-2.6.21 index 81c1383..81c1383 100644 --- a/target/linux/ixp4xx/config/default +++ b/target/linux/ixp4xx/config-2.6.21 diff --git a/target/linux/magicbox/Makefile b/target/linux/magicbox/Makefile index e003330..a20158b 100644 --- a/target/linux/magicbox/Makefile +++ b/target/linux/magicbox/Makefile @@ -13,9 +13,9 @@ FEATURES:=squashfs jffs2 LINUX_VERSION:=2.6.22.4 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/magicbox/config/default b/target/linux/magicbox/config-2.6.22 index 3e36514..3e36514 100644 --- a/target/linux/magicbox/config/default +++ b/target/linux/magicbox/config-2.6.22 diff --git a/target/linux/pxa/Makefile b/target/linux/pxa/Makefile index 3e0e6cd..ad44af2 100644 --- a/target/linux/pxa/Makefile +++ b/target/linux/pxa/Makefile @@ -13,13 +13,13 @@ FEATURES:=jffs2 broken LINUX_VERSION:=2.6.21.5 +include $(INCLUDE_DIR)/target.mk + define Target/Description Stub for boards based on intel PXA endef -include $(INCLUDE_DIR)/kernel-build.mk - # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/pxa/config/default b/target/linux/pxa/config-2.6.21 index e288e42..e288e42 100644 --- a/target/linux/pxa/config/default +++ b/target/linux/pxa/config-2.6.21 diff --git a/target/linux/rb532/Makefile b/target/linux/rb532/Makefile index ee23601..608f0ac 100644 --- a/target/linux/rb532/Makefile +++ b/target/linux/rb532/Makefile @@ -13,9 +13,9 @@ FEATURES:=jffs2 pci tgz LINUX_VERSION:=2.6.22.4 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/rb532/config/default b/target/linux/rb532/config-2.6.22 index 24678f1..24678f1 100644 --- a/target/linux/rb532/config/default +++ b/target/linux/rb532/config-2.6.22 diff --git a/target/linux/rdc/Makefile b/target/linux/rdc/Makefile index 5af5e85..ac49ade 100644 --- a/target/linux/rdc/Makefile +++ b/target/linux/rdc/Makefile @@ -13,15 +13,15 @@ FEATURES:=squashfs jffs2 broken LINUX_VERSION:=2.6.22.4 +include $(INCLUDE_DIR)/target.mk + define Target/Description Build firmware images for RDC321x based routers (e.g. Airlink101 AR525W, Linksys WRT54R, Sitecom WL-153) endef -include $(INCLUDE_DIR)/kernel-build.mk - ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) - define Kernel/SetInitramfs + define Kernel/SetInitramfs echo "r6040 parent=wlan0" > $(TARGET_DIR)/etc/modules.d/99-r6040 $(RM) $(TARGET_DIR)/sbin/init ln -s /etc/preinit $(TARGET_DIR)/sbin/init @@ -29,10 +29,10 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) sed -i 's,/sbin/init,/bin/busybox init,g' $(TARGET_DIR)/init mv $(TARGET_DIR)/init $(TARGET_DIR)/linuxrc sed -i 's,eth0,eth1,g' $(TARGET_DIR)/etc/config/network - endef + endef endif # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/rdc/config/default b/target/linux/rdc/config-2.6.22 index 381a961..381a961 100644 --- a/target/linux/rdc/config/default +++ b/target/linux/rdc/config-2.6.22 diff --git a/target/linux/rdc/config/profile-wl153 b/target/linux/rdc/config/profile-wl153 deleted file mode 100644 index 3ab59a8..0000000 --- a/target/linux/rdc/config/profile-wl153 +++ /dev/null @@ -1,2 +0,0 @@ -# CONFIG_MTD_RDC3210_ALLOW_JFFS2 is not set -CONFIG_MTD_RDC3210_SIZE=0x200000 diff --git a/target/linux/sibyte/Makefile b/target/linux/sibyte/Makefile index 35cdb37..aa8acea 100644 --- a/target/linux/sibyte/Makefile +++ b/target/linux/sibyte/Makefile @@ -13,9 +13,9 @@ FEATURES:=broken LINUX_VERSION:=2.6.21.5 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/sibyte/config/default b/target/linux/sibyte/config-2.6.21 index bf33d13..bf33d13 100644 --- a/target/linux/sibyte/config/default +++ b/target/linux/sibyte/config-2.6.21 diff --git a/target/linux/uml/Makefile b/target/linux/uml/Makefile index a6be082..e31ef02 100644 --- a/target/linux/uml/Makefile +++ b/target/linux/uml/Makefile @@ -25,11 +25,11 @@ LINUX_CONFIG:=$(CURDIR)/config/$(ARCH) LINUX_VERSION:=2.6.22.4 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk # include the profiles -include profiles/*.mk endif -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile index 705cc84..771fd19 100644 --- a/target/linux/x86/Makefile +++ b/target/linux/x86/Makefile @@ -13,11 +13,11 @@ FEATURES:=squashfs jffs2 ext2 LINUX_VERSION:=2.6.22.4 -include $(INCLUDE_DIR)/kernel-build.mk +include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci # include the profiles -include profiles/*.mk -$(eval $(call BuildKernel)) +$(eval $(call BuildTarget)) |