summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-08-09 13:04:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-08-09 13:04:17 +0000
commit9aeb0cff11455697e3d604befa30146928702d80 (patch)
tree70ca8aa4b110c6b5f707a8f44feaa74bd36c5d26 /include
parent47bab2b654d69ad3198479083854099971f6a607 (diff)
downloadmtk-20170518-9aeb0cff11455697e3d604befa30146928702d80.zip
mtk-20170518-9aeb0cff11455697e3d604befa30146928702d80.tar.gz
mtk-20170518-9aeb0cff11455697e3d604befa30146928702d80.tar.bz2
build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42090
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index be47526..5c83b3d 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -136,7 +136,7 @@ ifeq ($(DUMP),)
$(PKG_INFO_DIR)/$(1).provides: $$(IPKG_$(1))
$$(IPKG_$(1)): $(STAMP_BUILT) $(INCLUDE_DIR)/package-ipkg.mk
- @rm -rf $(PACKAGE_DIR)/$(1)_* $$(IDIR_$(1))
+ @rm -rf $$(PDIR_$(1))/$(1)_* $$(IDIR_$(1))
mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/CONTROL $(PKG_INFO_DIR)
$(call Package/$(1)/install,$$(IDIR_$(1)))
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| $(XARGS) rm -rf