summaryrefslogtreecommitdiff
path: root/package/libgcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgcc/Makefile')
-rw-r--r--package/libgcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile
index 3ec9294d1..aa788b205 100644
--- a/package/libgcc/Makefile
+++ b/package/libgcc/Makefile
@@ -34,6 +34,9 @@ INSTALL_STYLE:= manual
libgcc-install:
$(INSTALL_DIR) ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_TARGET_ARCH_SH),y)
+ ${CP} ${STAGING_TARGET_DIR}/lib/!m4/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+else
ifeq ($(ADK_TARGET_ARCH_AVR32),)
ifeq ($(ADK_TARGET_UCLINUX),)
ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
@@ -41,5 +44,6 @@ ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
endif
endif
endif
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk