aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc43xx/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lpc43xx/Makefile.include')
-rw-r--r--examples/lpc43xx/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lpc43xx/Makefile.include b/examples/lpc43xx/Makefile.include
index b4717cd..4b1a092 100644
--- a/examples/lpc43xx/Makefile.include
+++ b/examples/lpc43xx/Makefile.include
@@ -27,7 +27,7 @@ LD = $(PREFIX)-gcc
OBJCOPY = $(PREFIX)-objcopy
OBJDUMP = $(PREFIX)-objdump
GDB = $(PREFIX)-gdb
-ifeq ($(shell ls ../../../../../lib/libopencm3_lpc43xx.a 2>/dev/null),)
+ifeq ($(wildcard ../../../../lib/libopencm3_lpc43xx.a),)
TOOLCHAIN_DIR := $(shell dirname `which $(CC)`)/../$(PREFIX)
else
ifeq ($(V),1)