From 7e81f54205c8d716b308e6352506965343efddab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 30 May 2018 18:57:32 +0200 Subject: [PATCH] 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. --- dist/testbed-support/makefile.iotlab.single.inc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dist/testbed-support/makefile.iotlab.single.inc.mk b/dist/testbed-support/makefile.iotlab.single.inc.mk index ad742239fa..5b58bffc48 100644 --- a/dist/testbed-support/makefile.iotlab.single.inc.mk +++ b/dist/testbed-support/makefile.iotlab.single.inc.mk @@ -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