De-duplicate platform detection (#19545)

This commit is contained in:
Joel Challis
2023-01-11 02:13:32 +00:00
committed by GitHub
parent 20474ae232
commit e11235ee14
7 changed files with 21 additions and 18 deletions

View File

@ -37,6 +37,8 @@
# BOOTLOADER_SIZE can still be defined manually, but it's recommended
# you add any possible configuration to this list
FIRMWARE_FORMAT?=hex
ifeq ($(strip $(BOOTLOADER)), custom)
OPT_DEFS += -DBOOTLOADER_CUSTOM
BOOTLOADER_TYPE = custom