]> git.ipfire.org Git - thirdparty/openwrt.git/commit
build: fix stale package install stamps for unselected variants
authorFelix Fietkau <nbd@nbd.name>
Tue, 13 Jan 2026 12:37:50 +0000 (12:37 +0000)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 Jan 2026 10:20:17 +0000 (10:20 +0000)
commitbb22a514dcb7e79d6dd13e44be4d517f6ed923d0
tree8bf4f1e53d4c8148e7f1fa4c344a692e2ab63de2
parent6d5c71f7485da47e5c2a0318dafd47ba50311dd4
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 <nbd@nbd.name>
include/package.mk