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
This commit is contained in:
Felix Fietkau
2009-03-23 18:33:40 +00:00
parent c36c0d4621
commit 510f348529

View File

@@ -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