From: Gabor Juhos Date: Sun, 1 Jul 2007 11:44:50 +0000 (+0000) Subject: reordered GENERIC_PATCH_DIR variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=259ff05f847b25e8339dec5f2ba39721fc1eeca6;p=openwrt%2Fstaging%2Fjow.git reordered GENERIC_PATCH_DIR variable SVN-Revision: 7824 --- diff --git a/include/kernel.mk b/include/kernel.mk index e0fda0ddf9..057faac99b 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -29,7 +29,6 @@ else 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 ) - GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) @@ -48,6 +47,7 @@ else PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) endif GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL) +GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) define KernelPackage/Defaults