From f1ed9c711fd901acee1f8f22f8e7a4440f181fe5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 29 Sep 2013 15:12:34 +0200 Subject: bring qemu-sh and aranym-m68k in shape --- package/libgcc/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package/libgcc') 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 -- cgit v1.2.3