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>
This commit is contained in:
Hannu Nyman 2017-01-06 19:51:35 +02:00 committed by Felix Fietkau
parent d4ce3e8692
commit c1b12aa838

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)