summaryrefslogtreecommitdiffstats
path: root/build_json.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_json.mk')
-rw-r--r--build_json.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_json.mk b/build_json.mk
index 2e23ed1489..8820a8f4a6 100644
--- a/build_json.mk
+++ b/build_json.mk
@@ -23,5 +23,5 @@ endif
# Generate the keymap.c
ifneq ("$(KEYMAP_JSON)","")
- _ = $(shell bin/qmk-json-keymap -f $(KEYMAP_JSON) -o $(KEYMAP_C))
+ _ = $(shell test -e $(KEYMAP_C) || bin/qmk-json-keymap $(KEYMAP_JSON) -o $(KEYMAP_C))
endif