diff options
Diffstat (limited to 'package/libgcc/Makefile')
-rw-r--r-- | package/libgcc/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile index faa645b2e..7af6f361c 100644 --- a/package/libgcc/Makefile +++ b/package/libgcc/Makefile @@ -23,6 +23,7 @@ INSTALL_STYLE:= manual libgcc-install: $(INSTALL_DIR) ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) +ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ifeq ($(ADK_TARGET_ARCH_SH),y) ifeq ($(ADK_TARGET_CPU_SH_SH3),y) ${CP} ${STAGING_TARGET_DIR}/usr/lib/!m3*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) @@ -30,14 +31,12 @@ endif ifeq ($(ADK_TARGET_CPU_SH_SH4),y) ${CP} ${STAGING_TARGET_DIR}/usr/lib/!m4*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) endif -else +endif ifeq ($(ADK_TARGET_ARCH_AVR32),) ifeq ($(ADK_TARGET_BINFMT_FLAT),) -ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ${CP} ${STAGING_TARGET_DIR}/usr/lib/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) endif endif endif -endif include ${ADK_TOPDIR}/mk/pkg-bottom.mk |