diff options
| author | Felix Fietkau | 2026-01-13 12:37:50 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2026-01-22 10:20:17 +0000 |
| commit | bb22a514dcb7e79d6dd13e44be4d517f6ed923d0 (patch) | |
| tree | 8bf4f1e53d4c8148e7f1fa4c344a692e2ab63de2 | |
| parent | 6d5c71f7485da47e5c2a0318dafd47ba50311dd4 (diff) | |
| download | openwrt-bb22a514dcb7e79d6dd13e44be4d517f6ed923d0.tar.gz | |
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>
| -rw-r--r-- | include/package.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |