diff options
| author | Nick Brassel <nick@tzarc.org> | 2021-06-10 16:05:29 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-10 16:05:29 +1000 |
| commit | d684b8cafed8298bed53c6fb184086fc573f4e91 (patch) | |
| tree | a673f07f4e561b203deabb9ae2eebb6b2bd5b28e /bootloader.mk | |
| parent | 39c8ed32b47baed70c636113b1433381c5b6cfdc (diff) | |
| download | qmk_firmware-d684b8cafed8298bed53c6fb184086fc573f4e91.tar.gz qmk_firmware-d684b8cafed8298bed53c6fb184086fc573f4e91.zip | |
Slightly more prominent LUFA Mass-storage bootloader warning. (#13163)
Diffstat (limited to 'bootloader.mk')
| -rw-r--r-- | bootloader.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bootloader.mk b/bootloader.mk index d130dbbcc..79d3c3d72 100644 --- a/bootloader.mk +++ b/bootloader.mk | |||
| @@ -92,10 +92,14 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms) | |||
| 92 | OPT_DEFS += -DBOOTLOADER_MS | 92 | OPT_DEFS += -DBOOTLOADER_MS |
| 93 | BOOTLOADER_SIZE = 6144 | 93 | BOOTLOADER_SIZE = 6144 |
| 94 | FIRMWARE_FORMAT = bin | 94 | FIRMWARE_FORMAT = bin |
| 95 | $(info LUFA MASS STORAGE Bootloader selected) | 95 | cpfirmware: lufa_warning |
| 96 | $(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!) | 96 | .INTERMEDIATE: lufa_warning |
| 97 | $(info It is extremely prone to bricking, and is only included to support existing boards.) | 97 | lufa_warning: $(FIRMWARE_FORMAT) |
| 98 | $(info ) | 98 | $(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@) |
| 99 | $(info LUFA MASS STORAGE Bootloader selected) | ||
| 100 | $(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!) | ||
| 101 | $(info It is extremely prone to bricking, and is only included to support existing boards.) | ||
| 102 | $(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@) | ||
| 99 | endif | 103 | endif |
| 100 | ifdef BOOTLOADER_SIZE | 104 | ifdef BOOTLOADER_SIZE |
| 101 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) | 105 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) |
