summaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-10 04:21:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-10 04:21:21 +0000
commit2ed862c4a542b02c56d0d8525b0299f6c7315b2e (patch)
treec6de7eeed91e4093783388521ff68692d9b72dea /include/kernel.mk
parentd4ad0a34cfccc7c18f4f4aca68237a4a8379932f (diff)
fix kernel build with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index b2a7476aa..788e3f237 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -43,7 +43,9 @@ else
TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) \
- PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
+ ifneq ($(TARGET_BUILD),1)
+ PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
+ endif
endif
ifneq (,$(findstring uml,$(BOARD)))