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