aboutsummaryrefslogtreecommitdiffstats
path: root/build_json.mk
diff options
context:
space:
mode:
authorGravatar skullydazed <skullydazed@users.noreply.github.com>2019-07-15 15:12:35 -0700
committerGravatar GitHub <noreply@github.com>2019-07-15 15:12:35 -0700
commit7d557a0514e2cef42a3d460f6cc78771b5df0a30 (patch)
tree4c072963984da7702ddf84abda57b11c123c1f50 /build_json.mk
parenta25dd58bc56b0c4010673723ac44eaff914979bb (diff)
downloadqmk_firmware-7d557a0514e2cef42a3d460f6cc78771b5df0a30.tar.gz
Fix compiling json files. (#6340)
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 2e23ed148..8820a8f4a 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