summaryrefslogtreecommitdiff
path: root/builddefs/bootloader.mk
diff options
context:
space:
mode:
authorJoy Lee <chang.li@westberrytech.com>2022-04-19 19:21:12 +0800
committerGitHub <noreply@github.com>2022-04-19 21:21:12 +1000
commit25f849b397b409e7f8331abe5edacfde80ec0845 (patch)
tree0ddda99a6acf10f3d3bef9ae806a98e03a8d8f08 /builddefs/bootloader.mk
parentb88d04eb62dc00be0abe27d68efb143f2438cdf1 (diff)
Update wb32-dfu (#16438)
Diffstat (limited to 'builddefs/bootloader.mk')
-rw-r--r--builddefs/bootloader.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/builddefs/bootloader.mk b/builddefs/bootloader.mk
index 226213297e..f0a6c084a2 100644
--- a/builddefs/bootloader.mk
+++ b/builddefs/bootloader.mk
@@ -202,6 +202,10 @@ ifeq ($(strip $(BOOTLOADER)), md-boot)
OPT_DEFS += -DBOOTLOADER_MD_BOOT
BOOTLOADER_TYPE = md_boot
endif
+ifeq ($(strip $(BOOTLOADER)), wb32-dfu)
+ OPT_DEFS += -DBOOTLOADER_WB32_DFU
+ BOOTLOADER_TYPE = wb32_dfu
+endif
ifeq ($(strip $(BOOTLOADER_TYPE)),)
$(call CATASTROPHIC_ERROR,Invalid BOOTLOADER,No bootloader specified. Please set an appropriate 'BOOTLOADER' in your keyboard's 'rules.mk' file.)