Browse Source

Makefile: ensure that BIN_DIR exists for diffconfig

Ensure that BIN_DIR exists when the diffconfig target needs it.
Otherwise 'make diffconfig' fails after 'make clean'

Signed-off-by: Hannu Nyman <[email protected]>
Hannu Nyman 8 years ago
parent
commit
c1b12aa838
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -88,6 +88,7 @@ checksum: FORCE
 	$(call sha256sums,$(BIN_DIR))
 
 diffconfig: FORCE
+	mkdir -p $(BIN_DIR)
 	$(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed
 
 prepare: .config $(tools/stamp-install) $(toolchain/stamp-install)