summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-03 19:52:54 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-03 19:52:54 +0000
commit2a63954abc085ab8d6c38a9b70acdeeaec653a75 (patch)
tree4ae0f03f14862f6faefe3a48df4278f66f5335f3
parentcc7a307ec3461ce54bfc34632cec26452a44693b (diff)
more fixes for the patching stuff (was testing it on the wrong target)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7483 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/quilt.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index e77e0db772..e8c3b90a68 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -49,8 +49,9 @@ define Kernel/Patch/Default
if [ -d $(GENERIC_PLATFORM_DIR)/patches ]; then $(PATCH) $(LINUX_DIR) $(GENERIC_PLATFORM_DIR)/patches; fi \
)
$(if $(strip $(QUILT)),$(call Quilt/Patch,./patches,platform/), \
- if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi \
+ if [ -d ./patches ]; then $(PATCH) $(LINUX_DIR) ./patches; fi \
)
+ $(if $(strip $(QUILT)),touch $(PKG_BUILD_DIR)/.quilt_used)
endef
$(STAMP_PATCHED): $(STAMP_PREPARED)