summaryrefslogtreecommitdiff
path: root/build_json.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build_json.mk')
-rw-r--r--build_json.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/build_json.mk b/build_json.mk
index e2a33e3b6a..3e7dc95c0c 100644
--- a/build_json.mk
+++ b/build_json.mk
@@ -22,6 +22,5 @@ else ifneq ("$(wildcard $(MAIN_KEYMAP_PATH_1)/keymap.json)","")
endif
# Generate the keymap.c
-ifneq ("$(KEYMAP_JSON)","")
- _ = $(shell test -e $(KEYMAP_C) || bin/qmk json-keymap $(KEYMAP_JSON) -o $(KEYMAP_C))
-endif
+$(KEYBOARD_OUTPUT)/src/keymap.c:
+ bin/qmk json-keymap --quiet --output $(KEYMAP_C) $(KEYMAP_JSON)