aboutsummaryrefslogtreecommitdiffstats
path: root/include/quilt.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-16 01:56:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-16 01:56:04 +0000
commitf019ac4dc9b89958657dd8c9d81bb2e270c938e7 (patch)
tree59ba27f549ecae008485f94b3771c4fe1df4a563 /include/quilt.mk
parent4f16e9cc3e2c187d19b24785a55ce30a892efd68 (diff)
downloadupstream-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.tar.gz
upstream-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.tar.bz2
upstream-f019ac4dc9b89958657dd8c9d81bb2e270c938e7.zip
prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
SVN-Revision: 7644
Diffstat (limited to 'include/quilt.mk')
-rw-r--r--include/quilt.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index 395f64e174..e02fab0879 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -46,11 +46,11 @@ endif
define Kernel/Patch/Default
if [ -d $(GENERIC_PLATFORM_DIR)/files ]; then $(CP) $(GENERIC_PLATFORM_DIR)/files/* $(LINUX_DIR)/; fi
if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
- $(if $(strip $(QUILT)),$(call Quilt/Patch,$(GENERIC_PLATFORM_DIR)/patches,generic/), \
- if [ -d $(GENERIC_PLATFORM_DIR)/patches ]; then $(PATCH) $(LINUX_DIR) $(GENERIC_PLATFORM_DIR)/patches; fi \
+ $(if $(strip $(QUILT)),$(call Quilt/Patch,$(GENERIC_PATCH_DIR),generic/), \
+ if [ -d $(GENERIC_PATCH_DIR) ]; then $(PATCH) $(LINUX_DIR) $(GENERIC_PATCH_DIR); fi \
)
- $(if $(strip $(QUILT)),$(call Quilt/Patch,./patches,platform/), \
- if [ -d ./patches ]; then $(PATCH) $(LINUX_DIR) ./patches; fi \
+ $(if $(strip $(QUILT)),$(call Quilt/Patch,$(PATCH_DIR),platform/), \
+ if [ -d $(PATCH_DIR) ]; then $(PATCH) $(LINUX_DIR) $(PATCH_DIR); fi \
)
$(if $(strip $(QUILT)),touch $(PKG_BUILD_DIR)/.quilt_used)
endef
@@ -79,8 +79,8 @@ define Quilt/Refresh/Kernel
echo "All kernel patches must start with either generic/ or platform/"; \
false; \
}
- $(call Quilt/RefreshDir,$(GENERIC_PLATFORM_DIR)/patches,generic/)
- $(call Quilt/RefreshDir,./patches,platform/)
+ $(call Quilt/RefreshDir,$(GENERIC_PATCH_DIR),generic/)
+ $(call Quilt/RefreshDir,$(PATCH_DIR),platform/)
endef
quilt-check: $(STAMP_PREPARED) FORCE