PPTPD: Fix compilation when PPTP is not included
[tomato.git] / toolchain / include / kernel-version.mk
blobd286d4f89e0dc7462f31cd932913d480ad89ca91
1 # Use the default kernel version if the Makefile doesn't override it
3 ifeq ($(KERNEL),2.4)
4 LINUX_VERSION?=2.4.37
5 else
6 LINUX_VERSION?=2.6.22
7 endif
8 LINUX_RELEASE?=1
10 ifeq ($(LINUX_VERSION),2.4.37.5)
11 LINUX_KERNEL_MD5SUM:=cb221187422acaf6c63a40c646e5e476
12 endif
14 # disable the md5sum check for unknown kernel versions
15 LINUX_KERNEL_MD5SUM?=x
17 KERNEL?=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
18 KERNEL_PATCHVER=$(shell echo '$(LINUX_VERSION)' | cut -d. -f1,2,3 | cut -d- -f1)