aboutsummaryrefslogtreecommitdiffstats
path: root/include/rootfs.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-11-08 05:47:39 +0100
committerFelix Fietkau <nbd@nbd.name>2016-11-08 10:49:51 +0100
commit64c386c5662e923d284b1c5b742cb72d7ad24671 (patch)
tree9bf3a4048503b37729b0c390e618069d2d22357f /include/rootfs.mk
parent7ee661def6da779917ef405e04eb7eb4230ebb0a (diff)
downloadupstream-64c386c5662e923d284b1c5b742cb72d7ad24671.tar.gz
upstream-64c386c5662e923d284b1c5b742cb72d7ad24671.tar.bz2
upstream-64c386c5662e923d284b1c5b742cb72d7ad24671.zip
build: remove stale .ipk files if package dir changes
If a package nonshared status is changed, a stale .ipk file might still be present in the old package directory. Remove the .ipk file from all package directories when building a new one (or explicitly running clean) Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/rootfs.mk')
-rw-r--r--include/rootfs.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk
index b1617215a3..90d70a11f2 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -45,10 +45,6 @@ opkg = \
--add-arch all:100 \
--add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200
-opkg_package_files = $(wildcard \
- $(foreach dir,$(PACKAGE_SUBDIRS), \
- $(foreach pkg,$(1), $(dir)/$(pkg)_*.ipk)))
-
TARGET_DIR_ORIG := $(TARGET_ROOTFS_DIR)/root.orig-$(BOARD)
define prepare_rootfs