summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-06 02:14:53 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-06 02:15:04 +0100
commitaa18b0f88b2e90bb5b279b26487c3a8bef3ccfab (patch)
tree97b6208706537f465b562485bd46cb8ad7a46675 /toolchain
parent13b3b0a00d7920ed564ec567c04a939e2e43a8d6 (diff)
fix sh3 toolchain building
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 98213946b..c9bafde0b 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -207,6 +207,9 @@ endif
(cd $(TOOLCHAIN_DIR)/usr/$(GNU_TARGET_NAME); \
ln -s ../$(STAGING_HOST2TARGET)/lib lib)
ifeq ($(ADK_TARGET_ARCH_SH),y)
+ifeq ($(ADK_CPU_SH3),y)
+ (cd ${STAGING_TARGET_DIR}/ && ln -sf . m3)
+endif
ifeq ($(ADK_CPU_SH4),y)
(cd ${STAGING_TARGET_DIR}/ && ln -sf . m4)
endif