aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-07-01 11:44:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-07-01 11:44:50 +0000
commit259ff05f847b25e8339dec5f2ba39721fc1eeca6 (patch)
tree8c471318ef0803c7ee842417389fdba09b7dcffb /include/kernel.mk
parentf09d023394f492f7a7264daf6854fa6e02adfd34 (diff)
downloadupstream-259ff05f847b25e8339dec5f2ba39721fc1eeca6.tar.gz
upstream-259ff05f847b25e8339dec5f2ba39721fc1eeca6.tar.bz2
upstream-259ff05f847b25e8339dec5f2ba39721fc1eeca6.zip
reordered GENERIC_PATCH_DIR variable
SVN-Revision: 7824
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
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