aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 21:42:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 21:42:57 +0000
commit6c4ee48f9239dda93d6a34d4b3908e19171ee6e8 (patch)
tree347f60488f9d3fbe07a8f870ad45213b5d37afec
parent5e7cb507cdb00f627ca1dc14faca87eff0f1de70 (diff)
downloadupstream-6c4ee48f9239dda93d6a34d4b3908e19171ee6e8.tar.gz
upstream-6c4ee48f9239dda93d6a34d4b3908e19171ee6e8.tar.bz2
upstream-6c4ee48f9239dda93d6a34d4b3908e19171ee6e8.zip
fix kernel config feature autodetection
SVN-Revision: 7811
-rw-r--r--include/kernel.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index e6fc3325e6..e0fda0ddf9 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_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 )
KERNEL_BUILD_DIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)
LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
@@ -47,8 +46,8 @@ else
http://www.de.kernel.org/pub/linux/kernel/v$(KERNEL)$(TESTING)
PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-
endif
+GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL)
define KernelPackage/Defaults