X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fquilt.mk;h=e8c3b90a681d67647fb8794cfed2f02ed3dc4374;hb=9cc960cad96fcef65fd8cf9a0ed8f41c65cfad97;hp=e77e0db77215f910edfe0c7fb01161e8b705261d;hpb=6992efe2bb88291d9f3d20ed85b7b88d8f6ae23e;p=librecmc%2Flibrecmc.git diff --git a/include/quilt.mk b/include/quilt.mk index e77e0db772..e8c3b90a68 100644 --- a/include/quilt.mk +++ b/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)