1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/boot/riotboot.mk: pass IOTLAB_NODE

This commit is contained in:
Francisco Molina 2021-06-16 12:24:09 +02:00
parent 35e40ce245
commit f74d8ea6bb
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -76,12 +76,15 @@ riotboot: $(SLOT_RIOT_BINS)
# riotboot bootloader compile target
riotboot/flash-bootloader: riotboot/bootloader/flash
# IOTLAB_NODE is passed so that FLASHFILE is also set in the recursive make call
# when PROGRAMMER=iotlab
# avoid circular dependency against clean
riotboot/bootloader/%: $$(if $$(filter riotboot/bootloader/clean,$$@),,$$(BUILDDEPS) pkg-prepare)
$(Q)/usr/bin/env -i \
QUIET=$(QUIET) PATH="$(PATH)"\
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD)\
DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID) \
IOTLAB_NODE=$(IOTLAB_NODE) \
PROGRAMMER=$(PROGRAMMER) PROGRAMMER_QUIET=$(PROGRAMMER_QUIET) \
$(MAKE) --no-print-directory -C $(RIOTBOOT_DIR) $*