From: nbd 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: https://git.rohieb.name/openwrt.git/commitdiff_plain/f38087fdd182afbfb63b158d20191cd77c5d0113?ds=inline fill in the kernel version info for every target, move the kernel tarball md5sums to a central place git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7748 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/kernel-version.mk b/include/kernel-version.mk index eaac886eb..9a9f1c8bf 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 1ac209393..3eeef4a4e 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 b645d020c..9b5c29920 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 58d739df1..4dd366caa 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 4b10d565f..e6056b2f9 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 982a91139..ccd6353c8 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 1700dec8c..f75008498 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 c90d59d72..0b04a4f5a 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 2dcd76a9b..465d96c93 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 34c29cf9a..5f07cf20c 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 81a40d93e..a8c7a3c90 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 2259496fe..529a7e048 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 d896334e4..79e8c103f 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 9fe548a90..f80460fdd 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 76ca28e37..3e0e6cd3b 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 27569a35d..7d4843899 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 bf0d0d41a..d52974ffa 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 28b330275..35cdb37f2 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 089ef5858..65e1b52f7 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 db629fab5..a870bbe2b 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