From: Felix Fietkau Date: Tue, 13 Jan 2026 12:37:50 +0000 (+0000) Subject: build: fix stale package install stamps for unselected variants X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb22a514dcb7e79d6dd13e44be4d517f6ed923d0;p=thirdparty%2Fopenwrt.git build: fix stale package install stamps for unselected variants When a package variant changes from =y to =m, its .install stamp file was not being cleaned up, causing both variants to appear in the package install list. Fix by making compile depend on prepare-package-install, ensuring the stamp file is always cleared. Only =y packages recreate it. Signed-off-by: Felix Fietkau --- diff --git a/include/package.mk b/include/package.mk index a8278d06720..2bb4ecb4886 100644 --- a/include/package.mk +++ b/include/package.mk @@ -395,7 +395,7 @@ prepare-package-install: $(PACKAGE_DIR): mkdir -p $@ -compile: +compile: prepare-package-install .install: .compile install: compile