summaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 14:50:17 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-25 14:50:17 +0000
commit1676e90a344011530f40b503bfe0ef3f23f4f42c (patch)
tree3923a179234ecbde27bcd8a8b6703b3dbc9f29e5 /include/kernel.mk
parentadbb6bc068d7a0a74bf282fc0ecd9d9abda067c9 (diff)
move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8485 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 7f035c7bc..817555cf0 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))