Skip to content

Commit

Permalink
Merge pull request #20752 from fabian18/pr/fix_riotboot_build_with_sl…
Browse files Browse the repository at this point in the history
…ot_aux

makefiles: add OPENOCD_DEBUG_ADAPTER and SLOT_AUX_LEN to riotboot build environment
  • Loading branch information
maribu authored Jun 14, 2024
2 parents 5096c24 + bb80878 commit a8a7987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion makefiles/boot/riotboot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ riotboot/bootloader/%: $$(if $$(filter riotboot/bootloader/clean,$$@),,$$(BUILDD
$(Q)/usr/bin/env -i \
QUIET=$(QUIET) PATH="$(PATH)" USER="$(USER)"\
INCLUDES="$(INCLUDES)"\
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD)\
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD) \
OPENOCD_DEBUG_ADAPTER=$(OPENOCD_DEBUG_ADAPTER) \
DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID) \
IOTLAB_NODE=$(IOTLAB_NODE) \
PROGRAMMER=$(PROGRAMMER) PROGRAMMER_QUIET=$(PROGRAMMER_QUIET) \
SLOT_AUX_LEN=$(SLOT_AUX_LEN) \
$(MAKE) --no-print-directory -C $(RIOTBOOT_DIR) $*

# Generate a binary file from the bootloader which fills all the
Expand Down

0 comments on commit a8a7987

Please sign in to comment.