From: Felix Fietkau Date: Thu, 28 Jun 2007 05:52:00 +0000 (+0000) Subject: fill in the kernel version info for every target, move the kernel tarball md5sums... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=41af082667ac750886f29f3f8338d877567b303f;p=openwrt%2Fstaging%2Frobimarko.git fill in the kernel version info for every target, move the kernel tarball md5sums to a central place SVN-Revision: 7748 --- diff --git a/include/kernel-version.mk b/include/kernel-version.mk index eaac886ebb..9a9f1c8bff 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -3,13 +3,24 @@ ifeq ($(LINUX_VERSION),) ifeq ($(KERNEL),2.4) LINUX_VERSION:=2.4.34 - LINUX_RELEASE:=1 - LINUX_KERNEL_MD5SUM:=f59665540a7f3351ea416a0dad104b55 else LINUX_VERSION:=2.6.21.5 - LINUX_RELEASE:=1 - LINUX_KERNEL_MD5SUM:=2e9a302b5d514b231640227d6a2ab7bf endif endif +LINUX_RELEASE?=1 + +ifeq ($(LINUX_VERSION),2.4.34) + LINUX_KERNEL_MD5SUM:=f59665540a7f3351ea416a0dad104b55 +endif +ifeq ($(LINUX_VERSION),2.6.22-rc6) + LINUX_KERNEL_MD5SUM:=37adac36f3928f5e05dd2704c083620d +endif +ifeq ($(LINUX_VERSION),2.6.21.5) + LINUX_KERNEL_MD5SUM:=2e9a302b5d514b231640227d6a2ab7bf +endif + +# disable the md5sum check for unknown kernel versions +LINUX_KERNEL_MD5SUM?=x + KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION)))) diff --git a/target/linux/adm5120-2.6/Makefile b/target/linux/adm5120-2.6/Makefile index 1ac2093930..3eeef4a4e8 100644 --- a/target/linux/adm5120-2.6/Makefile +++ b/target/linux/adm5120-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=adm5120 BOARDNAME:=ADM5120 (Little Endian) FEATURES:=squashfs jffs2 pci usb +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for Infineon/ADMtek ADM5120 based boards (e.g : RouterBoard RB1xx, Compex WP54G-WRT ...) diff --git a/target/linux/adm5120eb-2.6/Makefile b/target/linux/adm5120eb-2.6/Makefile index b645d020ce..9b5c299203 100644 --- a/target/linux/adm5120eb-2.6/Makefile +++ b/target/linux/adm5120eb-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=adm5120eb BOARDNAME:=ADM5120 (Big Endian) FEATURES:=squashfs pci usb +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for Infineon/ADMTek ADM5120 based boards running in big-endian mode (e.g : ZyXEL Prestige 335WT ...) diff --git a/target/linux/amcc-2.6/Makefile b/target/linux/amcc-2.6/Makefile index 58d739df10..4dd366caa9 100644 --- a/target/linux/amcc-2.6/Makefile +++ b/target/linux/amcc-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=amcc BOARDNAME:=AMCC Taishan FEATURES:=jffs2 +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for the AMCC Taishan evaluation board endef diff --git a/target/linux/ar7-2.6/Makefile b/target/linux/ar7-2.6/Makefile index 4b10d565f5..e6056b2f93 100644 --- a/target/linux/ar7-2.6/Makefile +++ b/target/linux/ar7-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=ar7 BOARDNAME:=TI AR7 FEATURES:=squashfs jffs2 atm +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for TI AR7 based routers endef diff --git a/target/linux/at91-2.6/Makefile b/target/linux/at91-2.6/Makefile index 982a91139f..ccd6353c81 100644 --- a/target/linux/at91-2.6/Makefile +++ b/target/linux/at91-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=at91 BOARDNAME:=AT91 FEATURES:=squashfs +LINUX_VERSION:=2.6.21.5 + define Target/Description Build fimware images for Figment Design Labs VersaLink board. endef diff --git a/target/linux/atheros-2.6/Makefile b/target/linux/atheros-2.6/Makefile index 1700dec8c6..f750084988 100644 --- a/target/linux/atheros-2.6/Makefile +++ b/target/linux/atheros-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=atheros BOARDNAME:=Atheros FEATURES:=squashfs jffs2 +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for Atheros SoC boards endef diff --git a/target/linux/au1000-2.6/Makefile b/target/linux/au1000-2.6/Makefile index c90d59d72f..0b04a4f5a5 100644 --- a/target/linux/au1000-2.6/Makefile +++ b/target/linux/au1000-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=au1000 BOARDNAME:=AMD Alchemy AU1x00 FEATURES:=jffs2 usb pci +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware for AMD Alchemy 1500 boards (e.g. 4G-Systems Mesh/Access Cube ...) diff --git a/target/linux/avr32-2.6/Makefile b/target/linux/avr32-2.6/Makefile index 2dcd76a9b4..465d96c93d 100644 --- a/target/linux/avr32-2.6/Makefile +++ b/target/linux/avr32-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=avr32 BOARDNAME:=Atmel AVR32 FEATURES:=squashfs +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for ATNGW100 board endef diff --git a/target/linux/brcm47xx-2.6/Makefile b/target/linux/brcm47xx-2.6/Makefile index 34c29cf9ad..5f07cf20ca 100644 --- a/target/linux/brcm47xx-2.6/Makefile +++ b/target/linux/brcm47xx-2.6/Makefile @@ -11,8 +11,7 @@ BOARD:=brcm47xx BOARDNAME:=Broadcom BCM947xx/953xx FEATURES:=squashfs usb -LINUX_VERSION:=2.6.22-rc5 -LINUX_KERNEL_MD5SUM:=50dda556ae492f68ff7c273e1f357c55 +LINUX_VERSION:=2.6.22-rc6 define Target/Description Build firmware images for Broadcom based routers diff --git a/target/linux/brcm63xx-2.6/Makefile b/target/linux/brcm63xx-2.6/Makefile index 81a40d93e6..a8c7a3c907 100644 --- a/target/linux/brcm63xx-2.6/Makefile +++ b/target/linux/brcm63xx-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=brcm63xx BOARDNAME:=Broadcom BCM963xx FEATURES:=squashfs jffs2 broken usb atm +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for Broadcom based xDSL/routers (e.g. Inventel Livebox, Siemens SE515) diff --git a/target/linux/iop32x-2.6/Makefile b/target/linux/iop32x-2.6/Makefile index 2259496fe8..529a7e048a 100644 --- a/target/linux/iop32x-2.6/Makefile +++ b/target/linux/iop32x-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=iop32x BOARDNAME:=Intel XScale IOP32x FEATURES:=squashfs jffs2 +LINUX_VERSION:=2.6.21.5 + define Target/Description endef diff --git a/target/linux/ixp4xx-2.6/Makefile b/target/linux/ixp4xx-2.6/Makefile index d896334e47..79e8c103f6 100644 --- a/target/linux/ixp4xx-2.6/Makefile +++ b/target/linux/ixp4xx-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=ixp4xx BOARDNAME:=Intel XScale IXP4xx FEATURES:=squashfs +LINUX_VERSION:=2.6.21.5 + define Target/Description endef diff --git a/target/linux/magicbox-2.6/Makefile b/target/linux/magicbox-2.6/Makefile index 9fe548a903..f80460fdd4 100644 --- a/target/linux/magicbox-2.6/Makefile +++ b/target/linux/magicbox-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=magicbox BOARDNAME:=Magicbox FEATURES:=squashfs jffs2 +LINUX_VERSION:=2.6.21.5 + include $(INCLUDE_DIR)/kernel-build.mk # include the profiles diff --git a/target/linux/pxa-2.6/Makefile b/target/linux/pxa-2.6/Makefile index 76ca28e37c..3e0e6cd3b3 100644 --- a/target/linux/pxa-2.6/Makefile +++ b/target/linux/pxa-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=pxa BOARDNAME:=PXA FEATURES:=jffs2 broken +LINUX_VERSION:=2.6.21.5 + define Target/Description Stub for boards based on intel PXA endef diff --git a/target/linux/rb532-2.6/Makefile b/target/linux/rb532-2.6/Makefile index 27569a35db..7d48438990 100644 --- a/target/linux/rb532-2.6/Makefile +++ b/target/linux/rb532-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=rb532 BOARDNAME:=Mikrotik RouterBoard 532 FEATURES:=jffs2 +LINUX_VERSION:=2.6.21.5 + include $(INCLUDE_DIR)/kernel-build.mk # include the profiles diff --git a/target/linux/rdc-2.6/Makefile b/target/linux/rdc-2.6/Makefile index bf0d0d41ad..d52974ffae 100644 --- a/target/linux/rdc-2.6/Makefile +++ b/target/linux/rdc-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=rdc BOARDNAME:=RDC x86 FEATURES:=squashfs jffs2 pci broken +LINUX_VERSION:=2.6.21.5 + define Target/Description Build firmware images for RDC3211 based routers (e.g. Airlink101 AR525W, Linksys WRT54R) diff --git a/target/linux/sibyte-2.6/Makefile b/target/linux/sibyte-2.6/Makefile index 28b3302750..35cdb37f2e 100644 --- a/target/linux/sibyte-2.6/Makefile +++ b/target/linux/sibyte-2.6/Makefile @@ -11,6 +11,8 @@ BOARD:=sibyte BOARDNAME:=SiByte MIPS FEATURES:=broken +LINUX_VERSION:=2.6.21.5 + include $(INCLUDE_DIR)/kernel-build.mk # include the profiles diff --git a/target/linux/uml-2.6/Makefile b/target/linux/uml-2.6/Makefile index 089ef58581..65e1b52f70 100644 --- a/target/linux/uml-2.6/Makefile +++ b/target/linux/uml-2.6/Makefile @@ -23,6 +23,8 @@ BOARDNAME:=User Mode Linux FEATURES:=broken LINUX_CONFIG:=$(CURDIR)/config/$(ARCH) +LINUX_VERSION:=2.6.21.5 + include $(INCLUDE_DIR)/kernel-build.mk # include the profiles diff --git a/target/linux/x86-2.6/Makefile b/target/linux/x86-2.6/Makefile index db629fab5f..a870bbe2bd 100644 --- a/target/linux/x86-2.6/Makefile +++ b/target/linux/x86-2.6/Makefile @@ -11,8 +11,7 @@ BOARD:=x86 BOARDNAME:=x86 FEATURES:=squashfs jffs2 ext2 -LINUX_VERSION:=2.6.22-rc5 -LINUX_KERNEL_MD5SUM:=50dda556ae492f68ff7c273e1f357c55 +LINUX_VERSION:=2.6.22-rc6 include $(INCLUDE_DIR)/kernel-build.mk DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci