testhal/NUMICRO/NUC123: fix readlink

This commit is contained in:
Fabien Poussin 2022-05-14 11:55:28 +02:00
parent f9ed7a6f05
commit 7990a187be
No known key found for this signature in database
GPG Key ID: 6166CABA99FC385C
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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: