From 615a81cb65487f8a1d2285209aba5109abb8178a Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 25 Aug 2007 14:50:17 +0000 Subject: [PATCH] move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos SVN-Revision: 8485 --- include/kernel-version.mk | 1 + include/kernel.mk | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index f68fdea6f00..ee3486fdb10 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -23,4 +23,5 @@ endif LINUX_KERNEL_MD5SUM?=x KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION)))) +KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1) diff --git a/include/kernel.mk b/include/kernel.mk index 7f035c7bc52..817555cf0f6 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)) -- 2.30.2