diff options
-rw-r--r-- | build_json.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_json.mk b/build_json.mk index 087944cc41..6e2f9c4c8f 100644 --- a/build_json.mk +++ b/build_json.mk @@ -21,6 +21,11 @@ else ifneq ("$(wildcard $(MAIN_KEYMAP_PATH_1)/keymap.json)","") KEYMAP_PATH := $(MAIN_KEYMAP_PATH_1) endif +# Load the keymap-level rules.mk if exists +ifneq ("$(wildcard $(KEYMAP_PATH))", "") + -include $(KEYMAP_PATH)/rules.mk +endif + # Generate the keymap.c $(KEYBOARD_OUTPUT)/src/keymap.c: $(KEYMAP_JSON) bin/qmk json2c --quiet --output $(KEYMAP_C) $(KEYMAP_JSON) |