aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-27 14:14:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-27 14:14:00 +0000
commitfeb2913734966a6b15779082516b8c5d9e91d836 (patch)
tree423a256bdbec238c5e3387074cef38239bcc6708 /include
parenta36f6fae22f0e08982642cd2a2f6331393cb6ab0 (diff)
downloadupstream-feb2913734966a6b15779082516b8c5d9e91d836.tar.gz
upstream-feb2913734966a6b15779082516b8c5d9e91d836.tar.bz2
upstream-feb2913734966a6b15779082516b8c5d9e91d836.zip
enable quilt by default for the kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk1
-rw-r--r--include/kernel-defaults.mk2
-rw-r--r--include/quilt.mk2
3 files changed, 3 insertions, 2 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 089753e3a7..477c9eeddf 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -11,6 +11,7 @@ ifneq ($(DUMP),1)
all: compile
endif
+export QUILT=1
STAMP_PREPARED:=$(LINUX_DIR)/.prepared
STAMP_CONFIGURED:=$(LINUX_DIR)/.configured
include $(INCLUDE_DIR)/download.mk
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index d5cf1202b3..90761bf014 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -37,7 +37,7 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
define Kernel/Prepare/Default
bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
$(Kernel/Patch)
- $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
+ touch $(LINUX_DIR)/.quilt_used
endef
else
define Kernel/Prepare/Default
diff --git a/include/quilt.mk b/include/quilt.mk
index ffc5850d85..07bab8b440 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -67,7 +67,7 @@ define Build/Patch/Default
endef
define Kernel/Patch/Default
- $(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
+ rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches
if [ -d $(GENERIC_FILES_DIR) ]; then $(CP) $(GENERIC_FILES_DIR)/* $(LINUX_DIR)/; fi
if [ -d $(FILES_DIR) ]; then \
$(CP) $(FILES_DIR)/* $(LINUX_DIR)/; \