X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/597d9811aee6be6ebfd7114ad287806ea659d379..7fff341bb3866a3139a3edbe09c7c07ab9dd56e6:/include/quilt.mk diff --git a/include/quilt.mk b/include/quilt.mk index dbf0435f9..e8c3b90a6 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -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)