install: Do not evaluate .install unless we are installing
Since `.install` has directory dependencies on the install directories, this results in attempts to create directories even if you don't install. Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
parent
b05088a861
commit
1ca933bf93
2
rules.mk
2
rules.mk
|
@ -267,7 +267,7 @@ endif
|
||||||
.objects: .prebuild
|
.objects: .prebuild
|
||||||
.objects: $(MIQ_OBJDIR:%=%.mkdir)
|
.objects: $(MIQ_OBJDIR:%=%.mkdir)
|
||||||
.product: $(MIQ_OUTPRODS)
|
.product: $(MIQ_OUTPRODS)
|
||||||
.postbuild: .product .install
|
.postbuild: .product $(DO_INSTALL:%=.install)
|
||||||
.install: $(MIQ_INSTALL)
|
.install: $(MIQ_INSTALL)
|
||||||
.tests: $(TESTS:%=%.test)
|
.tests: $(TESTS:%=%.test)
|
||||||
.goodbye: .postbuild
|
.goodbye: .postbuild
|
||||||
|
|
Loading…
Reference in New Issue