build: fix race condition on make clean
without preceeding normal make
This commit is contained in:
parent
14ccbd2f5d
commit
6922fb8197
3
Makefile
3
Makefile
@ -304,7 +304,8 @@ prepare-target: $(GLUON_OPKG_KEY).pub
|
|||||||
$(target_prepared_stamp):
|
$(target_prepared_stamp):
|
||||||
+$(GLUONMAKE_EARLY) prepare-target
|
+$(GLUONMAKE_EARLY) prepare-target
|
||||||
|
|
||||||
maybe-prepare-target: $(GLUON_OPKG_KEY).pub $(target_prepared_stamp)
|
maybe-prepare-target: $(target_prepared_stamp)
|
||||||
|
+$(GLUONMAKE_EARLY) $(GLUON_OPKG_KEY).pub
|
||||||
|
|
||||||
$(BUILD_DIR)/.prepared: Makefile
|
$(BUILD_DIR)/.prepared: Makefile
|
||||||
@mkdir -p $$(dirname $@)
|
@mkdir -p $$(dirname $@)
|
||||||
|
Loading…
Reference in New Issue
Block a user