From 8762cf478f5365d4722b9a5c5e0f7b1c1986bd8e Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 9 Aug 2014 13:05:03 +0000 Subject: [PATCH] BB: build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO Signed-off-by: Jo-Philipp Wich Backport of r42090 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42091 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package-ipkg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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