Browse Source

more fixes for the patching stuff (was testing it on the wrong target)

SVN-Revision: 7483
Felix Fietkau 18 years ago
parent
commit
9cc960cad9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/quilt.mk

+ 2 - 1
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)