Makefile 767 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. include ${TOPDIR}/toolchain/gcc/Makefile.inc
  5. PKG_NAME:= libgcc
  6. PKG_DESCR:= GCC library
  7. PKG_SECTION:= libs
  8. PKG_DFLT_LIBGCC:= y if !ADK_TOOLCHAIN_ONLY
  9. NO_DISTFILES:= 1
  10. PKG_ARCH_DEPENDS:= !sh
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBGCC,libgcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  13. CONFIG_STYLE:= manual
  14. BUILD_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. do-install:
  17. ifeq ($(ADK_NATIVE),)
  18. ${INSTALL_DIR} ${IDIR_LIBGCC}/lib
  19. ${CP} ${STAGING_TARGET_DIR}/lib/libgcc*.so* ${IDIR_LIBGCC}/lib
  20. endif
  21. include ${TOPDIR}/mk/pkg-bottom.mk