add ar7-2.6 fixes by Stefan Weil
[openwrt.git] / include / quilt.mk
index dbf0435..e8c3b90 100644 (file)
@@ -49,9 +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 \
        )
-       touch $(PKG_BUILD_DIR)/.quilt_used
+       $(if $(strip $(QUILT)),touch $(PKG_BUILD_DIR)/.quilt_used)
 endef
 
 $(STAMP_PATCHED): $(STAMP_PREPARED)
This page took 0.025394 seconds and 4 git commands to generate.