From: nbd Date: Sun, 3 Jun 2007 19:52:54 +0000 (+0000) Subject: more fixes for the patching stuff (was testing it on the wrong target) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/2a63954abc085ab8d6c38a9b70acdeeaec653a75 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 --- diff --git a/include/quilt.mk b/include/quilt.mk index e77e0db77..e8c3b90a6 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)