From 7990a187be574e37626366ecc3fcc31a189aba50 Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Sat, 14 May 2022 11:55:28 +0200 Subject: [PATCH] testhal/NUMICRO/NUC123: fix readlink --- testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/Makefile | 3 +-- testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/Makefile b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/Makefile index cc9aedb2..a79b0698 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/Makefile +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/Makefile @@ -191,8 +191,7 @@ include $(RULESPATH)/rules.mk # Custom rules # -READLINK:=greadlink -OPENOCD:=$(shell $(READLINK) -f `which openocd`) +OPENOCD:=$(shell readlink -f `which openocd`) OPENOCDPATH:=$(shell dirname $(OPENOCD))/../share/openocd flash: $(BUILDDIR)/$(PROJECT).elf diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Makefile b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Makefile index d2581dc2..83e7a209 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Makefile +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Makefile @@ -186,8 +186,7 @@ include $(RULESPATH)/rules.mk # Custom rules # -READLINK:=greadlink -OPENOCD:=$(shell $(READLINK) -f `which openocd`) +OPENOCD:=$(shell readlink -f `which openocd`) OPENOCDPATH:=$(shell dirname $(OPENOCD))/../share/openocd install-openocd-config: