Browse Source

Move protocol makefiles into their respective folders (#21332)

* Move protocol makefiles into their respective folders

* Fix USB-USB converter
pull/21345/head
Ryan 10 months ago
committed by GitHub
parent
commit
aad5746682
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 3 deletions
  1. +3
    -2
      builddefs/build_keyboard.mk
  2. +1
    -1
      tmk_core/protocol.mk
  3. +0
    -0
      tmk_core/protocol/arm_atsam/arm_atsam.mk
  4. +0
    -0
      tmk_core/protocol/chibios/chibios.mk
  5. +0
    -0
      tmk_core/protocol/lufa/lufa.mk
  6. +0
    -0
      tmk_core/protocol/usb_hid/usb_hid.mk
  7. +0
    -0
      tmk_core/protocol/vusb/vusb.mk

+ 3
- 2
builddefs/build_keyboard.mk View File

@ -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))


+ 1
- 1
tmk_core/protocol.mk View File

@ -99,7 +99,7 @@ ifeq ($(strip $(SHARED_EP_ENABLE)), yes)
endif
ifeq ($(strip $(USB_HID_ENABLE)), yes)
include $(TMK_DIR)/protocol/usb_hid.mk
include $(TMK_DIR)/protocol/usb_hid/usb_hid.mk
endif
# Search Path


tmk_core/protocol/arm_atsam.mk → tmk_core/protocol/arm_atsam/arm_atsam.mk View File


tmk_core/protocol/chibios.mk → tmk_core/protocol/chibios/chibios.mk View File


tmk_core/protocol/lufa.mk → tmk_core/protocol/lufa/lufa.mk View File


tmk_core/protocol/usb_hid.mk → tmk_core/protocol/usb_hid/usb_hid.mk View File


tmk_core/protocol/vusb.mk → tmk_core/protocol/vusb/vusb.mk View File


Loading…
Cancel
Save