aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-08-25 14:50:17 +0000
committerNicolas Thill <nico@openwrt.org>2007-08-25 14:50:17 +0000
commit615a81cb65487f8a1d2285209aba5109abb8178a (patch)
tree274e982e37a7e58803c211b39683e201d6934556 /include/kernel.mk
parent655a446b17a93d7ba12c85bb4a29d160cd940c69 (diff)
downloadupstream-615a81cb65487f8a1d2285209aba5109abb8178a.tar.gz
upstream-615a81cb65487f8a1d2285209aba5109abb8178a.tar.bz2
upstream-615a81cb65487f8a1d2285209aba5109abb8178a.zip
move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
SVN-Revision: 8485
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 7f035c7bc5..817555cf0f 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -28,7 +28,6 @@ else
KERNEL_CROSS:=$(TARGET_CROSS)
endif
- KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
PLATFORM_DIR := $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(KERNEL)-$(BOARD)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))