Makefile 721 B

1234567891011121314151617181920212223242526272829
  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
  9. NO_DISTFILES:= 1
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,LIBGCC,libgcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  12. CONFIG_STYLE:= manual
  13. BUILD_STYLE:= manual
  14. INSTALL_STYLE:= manual
  15. do-install:
  16. ifeq ($(ADK_NATIVE),)
  17. ${INSTALL_DIR} ${IDIR_LIBGCC}/lib
  18. ${CP} ${STAGING_TARGET_DIR}/lib/libgcc*.so* ${IDIR_LIBGCC}/lib
  19. endif
  20. include ${TOPDIR}/mk/pkg-bottom.mk