From 00fb1bd1f0550645997b61870d7d092494265a60 Mon Sep 17 00:00:00 2001 From: skullY Date: Tue, 12 Nov 2019 17:08:55 -0800 Subject: Make generating keymap.c from JSON more reliable --- build_json.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build_json.mk') diff --git a/build_json.mk b/build_json.mk index e2a33e3b6..3e7dc95c0 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) -- cgit v1.2.3-70-g09d2