makefile.iotlab.single: add 'info-iotlab-node' target

Add a target to show the value of IOTLAB_NODE. Can be used to get the result of
using IOTLAB_NODE=auto or IOTLAB_NODE=auto-ssh.
This commit is contained in:
Gaëtan Harter 2018-05-30 18:57:32 +02:00
parent 124f9ec9bb
commit 7e81f54205
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -134,6 +134,13 @@ else
endif
# Display value of IOTLAB_NODE, useful to get the value calculated when using
# IOTLAB_NODE=auto or auto-ssh
.PHONY: info-iotlab-node
info-iotlab-node:
@echo $(IOTLAB_NODE)
# Configure FLASHER, RESET, TERMPROG depending on BOARD and if on frontend
# Command to check if 'stdin' is 0. Cannot use 'cmp - <(echo 0)' without bash shell