summaryrefslogtreecommitdiffstats
path: root/include/quilt.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-23 18:33:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-23 18:33:40 +0000
commitd0ddef4be10182314022f491a18d9cde0807a625 (patch)
tree6379bc9ddf77aae91491f444fa8e20c71ceeb75b /include/quilt.mk
parentbded6e9b33e96b45ac96edbbbafe6788f1846e02 (diff)
fix the path to the build dir for host packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14998 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/quilt.mk')
-rw-r--r--include/quilt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index 1bbe9d6ee..6c4839ba4 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -100,8 +100,8 @@ define Quilt/RefreshDir
mkdir -p $(2)
-rm -f $(2)/* 2>/dev/null >/dev/null
@( \
- for patch in $$$$($(if $(3),grep "^$(3)",cat) $(PKG_BUILD_DIR)/patches/series | awk '{print $$$$1}'); do \
- $(CP) -v "$(PKG_BUILD_DIR)/patches/$$$$patch" $(2); \
+ for patch in $$$$($(if $(3),grep "^$(3)",cat) $(1)/patches/series | awk '{print $$$$1}'); do \
+ $(CP) -v "$(1)/patches/$$$$patch" $(2); \
done; \
)
endef