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