move KERNEL_PATCHVER from kernel.mk to kernel-version.mk so that it is defined when dumping target infos
SVN-Revision: 8485
This commit is contained in:
parent
655a446b17
commit
615a81cb65
2 changed files with 1 additions and 1 deletions
|
@ -23,4 +23,5 @@ endif
|
||||||
LINUX_KERNEL_MD5SUM?=x
|
LINUX_KERNEL_MD5SUM?=x
|
||||||
|
|
||||||
KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
|
KERNEL:=2.$(word 2,$(subst ., ,$(strip $(LINUX_VERSION))))
|
||||||
|
KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ else
|
||||||
KERNEL_CROSS:=$(TARGET_CROSS)
|
KERNEL_CROSS:=$(TARGET_CROSS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
KERNEL_PATCHVER:=$(shell echo $(LINUX_VERSION) | cut -d. -f1,2,3 | cut -d- -f1)
|
|
||||||
PLATFORM_DIR := $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)
|
PLATFORM_DIR := $(TOPDIR)/target/linux/$(BOARD)-$(KERNEL)
|
||||||
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
|
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))
|
KERNEL_BUILD_DIR ?= $(BUILD_DIR_BASE)/linux-$(KERNEL)-$(BOARD)$(if $(BUILD_SUFFIX),_$(BUILD_SUFFIX))
|
||||||
|
|
Loading…
Reference in a new issue