summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2019-07-01 15:21:09 -0400
committerDrashna Jaelre <drashna@live.com>2019-07-01 12:21:09 -0700
commit2c41b69d3e253dc369006ae7ac6d2dd4193c529a (patch)
treeeda89025a6e9f71a22824500a686663cc636ce87 /keyboards
parent7ab99528d8a0a632321b7238507d5755f113abad (diff)
downloadqmk_firmware-2c41b69d3e253dc369006ae7ac6d2dd4193c529a.tar.gz
qmk_firmware-2c41b69d3e253dc369006ae7ac6d2dd4193c529a.zip
[Keyboard] Fix detection of Iris rev number used to set bootloader (#6226)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/keebio/iris/rules.mk2
-rw-r--r--keyboards/keebio/nyquist/rules.mk4
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/keebio/iris/rules.mk b/keyboards/keebio/iris/rules.mk
index 18d1d65500..b0012e1611 100644
--- a/keyboards/keebio/iris/rules.mk
+++ b/keyboards/keebio/iris/rules.mk
@@ -7,7 +7,7 @@ F_USB = $(F_CPU)
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
-ifeq ($(strip $(KEYBOARD)), iris/rev3)
+ifneq (, $(findstring rev3, $(KEYBOARD)))
BOOTLOADER = qmk-dfu
else
BOOTLOADER = caterina
diff --git a/keyboards/keebio/nyquist/rules.mk b/keyboards/keebio/nyquist/rules.mk
index 51821a4824..04d92bc7e1 100644
--- a/keyboards/keebio/nyquist/rules.mk
+++ b/keyboards/keebio/nyquist/rules.mk
@@ -38,8 +38,8 @@ F_USB = $(F_CPU)
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
-ifeq ($(strip $(KEYBOARD)), nyquist/rev3)
- BOOTLOADER = dfu
+ifneq (, $(findstring rev3, $(KEYBOARD)))
+ BOOTLOADER = qmk-dfu
else
BOOTLOADER = caterina
endif