summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-01-06 19:51:35 +0200
committerFelix Fietkau <nbd@nbd.name>2017-01-08 18:50:00 +0100
commitc1b12aa838587952b269a75ad278e8805aa9a65f (patch)
tree4c49839cdff1d5b0cf71bd04ad35803c2ad792f5 /Makefile
parentd4ce3e86924957d7c9ecfd51e8800618648b9b90 (diff)
downloadopenwrt-c1b12aa838587952b269a75ad278e8805aa9a65f.tar.gz
openwrt-c1b12aa838587952b269a75ad278e8805aa9a65f.tar.bz2
openwrt-c1b12aa838587952b269a75ad278e8805aa9a65f.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3450f7e297..b220dfd3c5 100644
--- a/Makefile
+++ b/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)