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.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/avr/flash.mk b/platforms/avr/flash.mk
index c104f730b3..4c4ac70512 100644
--- a/platforms/avr/flash.mk
+++ b/platforms/avr/flash.mk
@@ -178,9 +178,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 ifneq (,$(filter $(BOOTLOADER), usbasploader USBasp))
+else ifeq ($(strip $(BOOTLOADER)), usbasploader)
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_USBASP)
-else ifneq (,$(filter $(BOOTLOADER), bootloadhid bootloadHID))
+else ifeq ($(strip $(BOOTLOADER)), bootloadhid)
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_BOOTLOADHID)
else ifeq ($(strip $(BOOTLOADER)), qmk-hid)
$(UNSYNC_OUTPUT_CMD) && $(call EXEC_HID_LUFA)