summaryrefslogtreecommitdiffstats
path: root/platforms/avr/flash.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/avr/flash.mk')
-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)