diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-10 04:21:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-10 04:21:21 +0000 |
commit | f22594c4341e12f720c551ad7a9198cd4e3ad885 (patch) | |
tree | c6de7eeed91e4093783388521ff68692d9b72dea /include | |
parent | 78de618cdeec4627050964ff7f0a34c33504508e (diff) | |
download | upstream-f22594c4341e12f720c551ad7a9198cd4e3ad885.tar.gz upstream-f22594c4341e12f720c551ad7a9198cd4e3ad885.tar.bz2 upstream-f22594c4341e12f720c551ad7a9198cd4e3ad885.zip |
fix kernel build with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.mk | 4 | ||||
-rw-r--r-- | include/quilt.mk | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index b2a7476aa0..788e3f2378 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))) diff --git a/include/quilt.mk b/include/quilt.mk index 3a6f0dc754..c0a868fbf9 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -5,7 +5,7 @@ # See /LICENSE for more information. # -ifeq ($(KERNEL_BUILD),1) +ifeq ($(TARGET_BUILD),1) PKG_BUILD_DIR:=$(LINUX_DIR) endif PATCH_DIR?=./patches |