summary refs log tree commit diff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-06-10 06:06:03 +0000
committerQMK Bot <hello@qmk.fm>2021-06-10 06:06:03 +0000
commitcfc7ee61c5cb9822a1195028681b928bbeac2fd3 (patch)
tree0b1e210330b105550eb71e2342569c5b9d29424f
parent7a6e630ffd1a2a8357daf8b7ed2ab766eae55e07 (diff)
parentd684b8cafed8298bed53c6fb184086fc573f4e91 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--bootloader.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/bootloader.mk b/bootloader.mk
index d130dbbcca..79d3c3d72a 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -92,10 +92,14 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms)
     OPT_DEFS += -DBOOTLOADER_MS
     BOOTLOADER_SIZE = 6144
     FIRMWARE_FORMAT = bin
-    $(info LUFA MASS STORAGE Bootloader selected)
-    $(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!)
-    $(info It is extremely prone to bricking, and is only included to support existing boards.)
-    $(info )
+cpfirmware: lufa_warning
+.INTERMEDIATE: lufa_warning
+lufa_warning: $(FIRMWARE_FORMAT)
+	$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
+	$(info LUFA MASS STORAGE Bootloader selected)
+	$(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!)
+	$(info It is extremely prone to bricking, and is only included to support existing boards.)
+	$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
 endif
 ifdef BOOTLOADER_SIZE
     OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))