Makefile 783 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. include ${TOPDIR}/toolchain/gcc/Makefile.inc
  7. include ${TOPDIR}/mk/package.mk
  8. $(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE}))
  9. CONFIGURE_STYLE= gnu
  10. CONFIGURE_ARGS+= --enable-languages=c \
  11. --enable-shared \
  12. --disable-__cxa_atexit \
  13. --with-gnu-ld \
  14. --disable-libssp \
  15. --disable-nls \
  16. --disable-libmudflap \
  17. --disable-libgomp \
  18. --disable-multilib
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_GCC}/usr/lib
  23. ${INSTALL_DIR} ${IDIR_GCC}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/gcc ${IDIR_GCC}/usr/bin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk