From 1087e49379ac202ce4ad7ccd77bd118ae1ed6d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= <gaetan.harter@fu-berlin.de> Date: Thu, 22 Mar 2018 17:27:51 +0100 Subject: [PATCH] dist/tools/usb-serial: use RIOTTOOLS variable --- dist/tools/usb-serial/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/tools/usb-serial/README.md b/dist/tools/usb-serial/README.md index 15463573d7..ffa21ad76c 100644 --- a/dist/tools/usb-serial/README.md +++ b/dist/tools/usb-serial/README.md @@ -45,7 +45,7 @@ solution): ifeq ($(PORT),) # try to find tty name by serial number, only works on Linux currently. ifeq ($(OS),Linux) - PORT := $(firstword $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh "^$(PROGRAMMER_SERIAL)$$")) + PORT := $(firstword $(shell $(RIOTTOOLS)/usb-serial/find-tty.sh "^$(PROGRAMMER_SERIAL)$$")) endif endif endif @@ -53,7 +53,7 @@ solution): # Fallback PORT if no serial was specified or if the specified serial was not found ifeq ($(PORT),) ifeq ($(OS),Linux) - PORT := $(firstword $(shell $(RIOTBASE)/dist/tools/usb-serial/find-tty.sh)) + PORT := $(firstword $(shell $(RIOTTOOLS)/usb-serial/find-tty.sh)) else ifeq ($(OS),Darwin) PORT := $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1) endif -- GitLab