summaryrefslogtreecommitdiffstats
path: root/platforms/avr
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-10 17:17:54 +1000
committerGitHub <noreply@github.com>2021-09-10 17:17:54 +1000
commitd5cb7de5e4ea60dce69764a627358d534af1f666 (patch)
tree5835a4448bbb4e946495aad393145aca39305c75 /platforms/avr
parent7eea780a7da2d9197b78b62b7294a6b2bc2fa572 (diff)
Change USBasp and bootloadHID bootloaders to lowercase (#14354)
Diffstat (limited to 'platforms/avr')
-rw-r--r--platforms/avr/flash.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/platforms/avr/flash.mk b/platforms/avr/flash.mk
index 0af1ebb1ce..985cb60e52 100644
--- a/platforms/avr/flash.mk
+++ b/platforms/avr/flash.mk
@@ -147,7 +147,7 @@ define EXEC_BOOTLOADHID
done
endef
-bootloadHID: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
+bootloadhid: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
$(call EXEC_BOOTLOADHID)
HID_BOOTLOADER_CLI ?= hid_bootloader_cli
@@ -168,9 +168,9 @@ else ifeq ($(strip $(BOOTLOADER)), halfkay)
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_TEENSY)
else ifeq (dfu,$(findstring dfu,$(BOOTLOADER)))
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_DFU)
-else ifeq ($(strip $(BOOTLOADER)), USBasp)
+else ifneq (,$(filter $(BOOTLOADER), usbasploader USBasp))
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_USBASP)
-else ifeq ($(strip $(BOOTLOADER)), bootloadHID)
+else ifneq (,$(filter $(BOOTLOADER), bootloadhid bootloadHID))
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_BOOTLOADHID)
else ifeq ($(strip $(BOOTLOADER)), qmk-hid)
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_HID_LUFA)