De-duplicate platform detection (#19603)

This commit is contained in:
Joel Challis authored and GitHub committed 2023-01-19 00:27:00 +00:00
1 parent a1f253cbef
commit 0ce3f6bcfe
8 files changed
+21 -18

No files matched your search

+2
View File
@@ -36,6 +36,8 @@
# the respective file under `platforms/<PLATFORM>/bootloaders/custom.c` to see
# which functions may be overridden.
FIRMWARE_FORMAT?=bin
ifeq ($(strip $(BOOTLOADER)), custom)
OPT_DEFS += -DBOOTLOADER_CUSTOM
BOOTLOADER_TYPE = custom