more fixes for the patching stuff (was testing it on the wrong target)
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

--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -49,8 +49,9 @@
 		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)

comments