summaryrefslogtreecommitdiff
path: root/package/libgcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-21 17:56:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-11-21 17:56:42 +0100
commit700cb2cb5397ac21b5acbf4dc354a2138cd3f800 (patch)
treed7ed33dcd6cd82cd4bf8b8d66b92fcd9a77a1b81 /package/libgcc/Makefile
parent47a0db9b7402ffabe1f3091c5227b97c05784b1c (diff)
sh3 fix for libgcc package
Diffstat (limited to 'package/libgcc/Makefile')
-rw-r--r--package/libgcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile
index ec05523ff..5e9fa1776 100644
--- a/package/libgcc/Makefile
+++ b/package/libgcc/Makefile
@@ -32,7 +32,12 @@ INSTALL_STYLE:= manual
libgcc-install:
$(INSTALL_DIR) ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
ifeq ($(ADK_TARGET_ARCH_SH),y)
+ifeq ($(ADK_CPU_SH3),y)
+ ${CP} ${STAGING_TARGET_DIR}/lib/!m3*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+endif
+ifeq ($(ADK_CPU_SH4),y)
${CP} ${STAGING_TARGET_DIR}/lib/!m4*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+endif
else
ifeq ($(ADK_TARGET_ARCH_AVR32),)
ifeq ($(ADK_TARGET_BINFMT_FLAT),)