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