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 <hannu.nyman@iki.fi>
lede-17.01
Hannu Nyman 2017-01-06 19:51:35 +02:00 committed by Felix Fietkau
parent d4ce3e8692
commit c1b12aa838
1 changed files with 1 additions and 0 deletions

View File

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