more fixes for the patching stuff (was testing it on the wrong target)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jun 2007 19:52:54 +0000 (19:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jun 2007 19:52:54 +0000 (19:52 +0000)
SVN-Revision: 7483

include/quilt.mk

index e77e0db..e8c3b90 100644 (file)
@@ -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)