aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc13xx
diff options
context:
space:
mode:
authorFergus Noble2011-09-09 10:20:23 -0700
committerStephen Caudle2011-10-12 22:13:00 -0400
commitcbf6b8e54b526ef9c104bd9e3d9ae2e6fe3829c8 (patch)
tree3ef45d0dacd21af584b6fc76d0c58af8ff952785 /examples/lpc13xx
parentf9a28a3d5e7438842f64c123ffff2488bdccff4d (diff)
Update examples Makefiles to use the make shell function rather than backticks for shell command expansion. Backticks are unreliable and don't work on all platforms.
Diffstat (limited to 'examples/lpc13xx')
-rw-r--r--examples/lpc13xx/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lpc13xx/Makefile.include b/examples/lpc13xx/Makefile.include
index fe2c3ba..948d6c4 100644
--- a/examples/lpc13xx/Makefile.include
+++ b/examples/lpc13xx/Makefile.include
@@ -25,7 +25,7 @@ LD = $(PREFIX)-gcc
OBJCOPY = $(PREFIX)-objcopy
OBJDUMP = $(PREFIX)-objdump
# Uncomment this line if you want to use the installed (not local) library.
-# TOOLCHAIN_DIR = `dirname \`which $(CC)\``/../$(PREFIX)
+# TOOLCHAIN_DIR := $(shell dirname `which $(CC)`)/../$(PREFIX)
TOOLCHAIN_DIR = ../../../..
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb -MD