From bb22a514dcb7e79d6dd13e44be4d517f6ed923d0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 13 Jan 2026 12:37:50 +0000 Subject: [PATCH] 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 --- include/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/package.mk b/include/package.mk index a8278d0672..2bb4ecb488 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