build: fix race condition on `make clean` without preceeding normal make
This commit is contained in:
parent
d8092bce62
commit
9b63127aa5
3
Makefile
3
Makefile
|
@ -298,7 +298,8 @@ prepare-target: $(GLUON_OPKG_KEY).pub
|
|||
$(target_prepared_stamp):
|
||||
+$(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
|
||||
@mkdir -p $$(dirname $@)
|
||||
|
|
Reference in New Issue