1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
5 include ${ADK_TOPDIR}/toolchain
/gcc
/Makefile.inc
8 PKG_DESCR
:= c
++ support library
9 PKG_SECTION
:= base
/libs
13 include ${ADK_TOPDIR}/mk
/package.mk
15 $(eval
$(call PKG_template
,LIBSTDCXX
,libstdcxx
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
19 INSTALL_STYLE
:= manual
22 ifeq ($(ADK_TARGET_BINFMT_FLAT
)$(ADK_TARGET_USE_STATIC_LIBS_ONLY
)$(ADK_TARGET_ARCH_METAG
),)
23 ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr
/${ADK_TARGET_LIBC_PATH}
24 ifeq ($(ADK_TARGET_ARCH_SH
),y
)
25 ifeq ($(ADK_TARGET_CPU_SH_SH3
),y
)
26 $(CP
) ${STAGING_TARGET_DIR}/usr
/${ADK_TARGET_LIBC_PATH}/!m3
/libstdc
++.so
* \
27 ${IDIR_LIBSTDCXX}/usr
/${ADK_TARGET_LIBC_PATH}
29 ifeq ($(ADK_TARGET_CPU_SH_SH4
),y
)
30 $(CP
) ${STAGING_TARGET_DIR}/usr
/${ADK_TARGET_LIBC_PATH}/!m4
/libstdc
++.so
* \
31 ${IDIR_LIBSTDCXX}/usr
/${ADK_TARGET_LIBC_PATH}
34 $(CP
) ${STAGING_TARGET_DIR}/usr
/${ADK_TARGET_LIBC_PATH}/libstdc
++.so
* \
35 ${IDIR_LIBSTDCXX}/usr
/${ADK_TARGET_LIBC_PATH}
36 -@
rm ${IDIR_LIBSTDCXX}/usr
/${ADK_TARGET_LIBC_PATH}/libstdc
++.so.
*-gdb.py
2>/dev
/null
40 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk