mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
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>
This commit is contained in:
parent
6d5c71f748
commit
bb22a514dc
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ prepare-package-install:
|
|||
$(PACKAGE_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
compile:
|
||||
compile: prepare-package-install
|
||||
.install: .compile
|
||||
install: compile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue