1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

dist/testbed-support: Wait for flash to be done when provided with term

Compare https://github.com/RIOT-OS/RIOT/pull/12468
This commit is contained in:
Martine S. Lenders 2020-01-21 14:58:27 +01:00
parent 2fec1f7adc
commit 59ecc48eb6
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -77,7 +77,10 @@ iotlab-debug-server: $(IOTLAB_AUTH)
iotlab-stop: $(IOTLAB_AUTH)
$(Q)iotlab-experiment stop -i $(IOTLAB_EXP_ID)
iotlab-term:
# wait for flash if it is provided e.g. with `make iotlab-flash iotlab-term`
IOTLABTERMFLASHDEPS ?= $(filter iotlab-flash iotlab-exp,$(MAKECMDGOALS))
iotlab-term: $(IOTLABTERMFLASHDEPS)
$(Q)ssh -t $(IOTLAB_AUTHORITY) "iotlab-experiment get -r -i $(IOTLAB_EXP_ID) > /dev/null || \
iotlab-auth -u $(IOTLAB_USER)"