Skip to content

Commit bb80878

Browse files
committed
makefiles: add OPENOCD_DEBUG_ADAPTER and SLOT_AUX_LEN to riotboot build env.
1 parent 611e364 commit bb80878

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

makefiles/boot/riotboot.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ riotboot/bootloader/%: $$(if $$(filter riotboot/bootloader/clean,$$@),,$$(BUILDD
8787
$(Q)/usr/bin/env -i \
8888
QUIET=$(QUIET) PATH="$(PATH)" USER="$(USER)"\
8989
INCLUDES="$(INCLUDES)"\
90-
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD)\
90+
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD) \
91+
OPENOCD_DEBUG_ADAPTER=$(OPENOCD_DEBUG_ADAPTER) \
9192
DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID) \
9293
IOTLAB_NODE=$(IOTLAB_NODE) \
9394
PROGRAMMER=$(PROGRAMMER) PROGRAMMER_QUIET=$(PROGRAMMER_QUIET) \
95+
SLOT_AUX_LEN=$(SLOT_AUX_LEN) \
9496
$(MAKE) --no-print-directory -C $(RIOTBOOT_DIR) $*
9597

9698
# Generate a binary file from the bootloader which fills all the

0 commit comments

Comments
 (0)