From bb80878fadf92f09769fd267e6bc84423d6556f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20H=C3=BC=C3=9Fler?= Date: Fri, 14 Jun 2024 17:35:19 +0200 Subject: [PATCH] makefiles: add OPENOCD_DEBUG_ADAPTER and SLOT_AUX_LEN to riotboot build env. --- makefiles/boot/riotboot.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefiles/boot/riotboot.mk b/makefiles/boot/riotboot.mk index 447c9ac08b..e973bfc5c6 100644 --- a/makefiles/boot/riotboot.mk +++ b/makefiles/boot/riotboot.mk @@ -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