diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-23 00:07:28 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 15:07:28 +0100 |
commit | aad57466827c6aac8f612f5fbbb5adcea6fc5975 (patch) | |
tree | 45940a49fe72a1b56a77cf54555c872f00210138 /builddefs | |
parent | fb76c941ee9d0713c5fc2d2609b8381de14df184 (diff) |
Move protocol makefiles into their respective folders (#21332)
* Move protocol makefiles into their respective folders
* Fix USB-USB converter
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/build_keyboard.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builddefs/build_keyboard.mk b/builddefs/build_keyboard.mk index 32e41e7d5b..72c990abbb 100644 --- a/builddefs/build_keyboard.mk +++ b/builddefs/build_keyboard.mk @@ -440,10 +440,11 @@ include $(PLATFORM_PATH)/$(PLATFORM_KEY)/platform.mk -include $(PLATFORM_PATH)/$(PLATFORM_KEY)/flash.mk ifneq ($(strip $(PROTOCOL)),) - include $(TMK_PATH)/protocol/$(strip $(shell echo $(PROTOCOL) | tr '[:upper:]' '[:lower:]')).mk +PROTOCOL_KEY = $(strip $(shell echo $(PROTOCOL) | tr '[:upper:]' '[:lower:]')) else - include $(TMK_PATH)/protocol/$(PLATFORM_KEY).mk +PROTOCOL_KEY = $(PLATFORM_KEY) endif +include $(TMK_PATH)/protocol/$(PROTOCOL_KEY)/$(PROTOCOL_KEY).mk # Setup definitions based on the selected MCU $(eval $(call add_qmk_prefix_defs,MCU_ORIG,MCU)) |