summaryrefslogtreecommitdiff
path: root/package/libgcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-29 15:12:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-29 15:12:34 +0200
commitf1ed9c711fd901acee1f8f22f8e7a4440f181fe5 (patch)
treee585b143299b2ca765948e7034e1c524ea33eb48 /package/libgcc
parent653152122efe26199fd239c5c9df103d20b4396d (diff)
bring qemu-sh and aranym-m68k in shape
Diffstat (limited to 'package/libgcc')
-rw-r--r--package/libgcc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile
index 003cd9783..9c024504c 100644
--- a/package/libgcc/Makefile
+++ b/package/libgcc/Makefile
@@ -11,7 +11,7 @@ PKG_SECTION:= libs
NO_DISTFILES:= 1
-PKG_ARCH_DEPENDS:= !sh !avr32
+PKG_ARCH_DEPENDS:= !avr32
include ${TOPDIR}/mk/package.mk
@@ -24,8 +24,12 @@ INSTALL_STYLE:= manual
do-install:
ifeq ($(ADK_NATIVE),)
${INSTALL_DIR} ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_LINUX_SH),y)
+ ${CP} ${STAGING_TARGET_DIR}/lib/!m1/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+else
${CP} ${STAGING_TARGET_DIR}/$(ADK_TARGET_LIBC_PATH)/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
endif
+endif
ifeq ($(ADK_TARGET_MULTILIB_X86_32),y)
${INSTALL_DIR} ${IDIR_LIBGCC}/lib32
${CP} ${STAGING_TARGET_DIR_32}/lib/libgcc*.so* ${IDIR_LIBGCC}/lib32