X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fkernel-version.mk;h=e66653f0d2d106fea5009359716d71f36d314648;hb=66bca343a2f1ba801526ac09465b91405fd9bc78;hp=804d4be83848a04f49c6fbbb9c362783037fab20;hpb=2f7cbe555a85de36e7e4c9f006f6132989f6f52e;p=openwrt.git diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 804d4be838..c40aacb84a 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -1,29 +1,27 @@ # Use the default kernel version if the Makefile doesn't override it -ifeq ($(KERNEL),2.4) - LINUX_VERSION?=2.4.37.2 -else - LINUX_VERSION?=2.6.21.7 -endif LINUX_RELEASE?=1 -ifeq ($(LINUX_VERSION),2.4.37.2) - LINUX_KERNEL_MD5SUM:=8a390c782991a2bfe7d4f2fc93dab059 +ifeq ($(LINUX_VERSION),3.3.8) + LINUX_KERNEL_MD5SUM:=f1058f64eed085deb44f10cee8541d50 +endif +ifeq ($(LINUX_VERSION),3.6.11) + LINUX_KERNEL_MD5SUM:=3d602ad7f7984509c3e923a5ae90bc54 endif -ifeq ($(LINUX_VERSION),2.6.21.7) - LINUX_KERNEL_MD5SUM:=bc15fad1487336d5dcb0945cd039d8ed +ifeq ($(LINUX_VERSION),3.8.13) + LINUX_KERNEL_MD5SUM:=2af19d06cd47ec459519159cdd10542d endif -ifeq ($(LINUX_VERSION),2.6.25.20) - LINUX_KERNEL_MD5SUM:=0da698edccf03e2235abc2830a495114 +ifeq ($(LINUX_VERSION),3.9.11) + LINUX_KERNEL_MD5SUM:=edbf88eb7f7d34dbd5d3887726790755 endif -ifeq ($(LINUX_VERSION),2.6.27.28) - LINUX_KERNEL_MD5SUM:=f05cd17ba8ee19924c9c473219fbaa9b +ifeq ($(LINUX_VERSION),3.10.44) + LINUX_KERNEL_MD5SUM:=8a4006eff3bbd8aff58fe4b443223e7a endif -ifeq ($(LINUX_VERSION),2.6.28.10) - LINUX_KERNEL_MD5SUM:=c4efb2c494d749cb5de274f8ae41c3fa +ifeq ($(LINUX_VERSION),3.13.7) + LINUX_KERNEL_MD5SUM:=370adced5e5c1cb1d0d621c2dae2723f endif -ifeq ($(LINUX_VERSION),2.6.30.3) - LINUX_KERNEL_MD5SUM:=5499e1fd246215d65fc7068cfb040406 +ifeq ($(LINUX_VERSION),3.14.12) + LINUX_KERNEL_MD5SUM:=7e76da2910683fe4dfbcec6ebfdd9a32 endif # disable the md5sum check for unknown kernel versions @@ -33,5 +31,9 @@ split_version=$(subst ., ,$(1)) merge_version=$(subst $(space),.,$(1)) KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION))) KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(KERNEL_BASE)))) -KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(KERNEL_BASE)))) +ifeq ($(firstword $(call split_version,$(KERNEL_BASE))),2) + KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(KERNEL_BASE)))) +else + KERNEL_PATCHVER=$(KERNEL) +endif