aboutsummaryrefslogtreecommitdiffstats
path: root/support/make
diff options
context:
space:
mode:
authorDmitry Prokhorov <dipspb@gmail.com>2013-01-05 19:23:30 +0400
committerDmitry Prokhorov <dipspb@gmail.com>2013-01-05 23:25:14 +0400
commitbe005eb7acc1fa08aa92b47d905e5a8ec38f5d6e (patch)
tree79f95c18a4de92133f53e46d00828568cdd7af3e /support/make
parent9980bc4622a92c40a03712c0a08dde68cb8e109d (diff)
downloadlibrambutan-be005eb7acc1fa08aa92b47d905e5a8ec38f5d6e.tar.gz
librambutan-be005eb7acc1fa08aa92b47d905e5a8ec38f5d6e.zip
Add fix to support Summon/Linaro GCC ARM embedded toolchain.
Signed-off-by: Dmitry Prokhorov <dipspb@gmail.com>
Diffstat (limited to 'support/make')
-rw-r--r--support/make/build-rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/make/build-rules.mk b/support/make/build-rules.mk
index d180c89..f852cab 100644
--- a/support/make/build-rules.mk
+++ b/support/make/build-rules.mk
@@ -39,6 +39,10 @@ ifneq ($(findstring ARM/embedded,$(shell $(CC) --version)),)
# GCC ARM Embedded, https://launchpad.net/gcc-arm-embedded/
LD_TOOLCHAIN_PATH := $(LDDIR)/toolchains/gcc-arm-embedded
endif
+ifneq ($(findstring Linaro GCC,$(shell $(CC) --version)),)
+# Summon/Linaro GCC ARM Embedded, https://github.com/esden/summon-arm-toolchain
+LD_TOOLCHAIN_PATH := $(LDDIR)/toolchains/gcc-arm-embedded
+endif
# Add toolchain directory to LD search path
TOOLCHAIN_LDFLAGS := -L $(LD_TOOLCHAIN_PATH)