enable quilt by default for the kernel tree
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 Aug 2008 14:14:00 +0000 (14:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 27 Aug 2008 14:14:00 +0000 (14:14 +0000)
SVN-Revision: 12400

include/kernel-build.mk
include/kernel-defaults.mk
include/quilt.mk

index 089753e3a787b77c14ecfed3170f8b46bfa7a359..477c9eeddf4cd11763c795e6a10b74aaeb132091 100644 (file)
@@ -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
index d5cf1202b3382d3801459eb6e3a299dc3d71bb35..90761bf014944177854a1c914931665022de166d 100644 (file)
@@ -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
index ffc5850d853d52a1802f2d22afd4148dd15e760d..07bab8b440c3e8090ab9a811aeb4dd24a48df38d 100644 (file)
@@ -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)/; \