diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-11-08 05:47:39 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-11-08 10:49:51 +0100 |
commit | 64c386c5662e923d284b1c5b742cb72d7ad24671 (patch) | |
tree | 9bf3a4048503b37729b0c390e618069d2d22357f /include/rootfs.mk | |
parent | 7ee661def6da779917ef405e04eb7eb4230ebb0a (diff) | |
download | upstream-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.mk | 4 |
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 |