Explorar o código

build: fix race condition on `make clean` without preceeding normal make

Matthias Schiffer %!s(int64=8) %!d(string=hai) anos
pai
achega
6922fb8197
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -304,7 +304,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 $@)