Makefile.inc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. PKG_NAME:= gcc
  4. ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
  5. PKG_VERSION:= 6.2.0
  6. PKG_HASH:= ba8c49e54f1b3e04434d6261e5718ed843d1ba3e54a070740913acfbd815e577
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  10. LIBSTDCXXVER:= 22
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_5),y)
  13. PKG_VERSION:= 5.4.0
  14. PKG_HASH:= 37089e80c3f2e9a0663d7ccc51c2a6c7dbbf3275bc1e4ed1ed3b1460cd5b3030
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. LIBSTDCXXVER:= 21
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_4_9),y)
  21. PKG_VERSION:= 4.9.4
  22. PKG_HASH:= 1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d
  23. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  26. LIBSTDCXXVER:= 20
  27. endif
  28. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  29. PKG_VERSION:= arc-2016.09-release
  30. PKG_GIT:= tag
  31. PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
  32. PKG_RELEASE:= 1
  33. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  34. endif
  35. ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
  36. PKG_VERSION:= musl-5.4.0
  37. PKG_GIT:= branch
  38. PKG_SITES:= https://github.com/openrisc/or1k-gcc.git
  39. PKG_RELEASE:= 1
  40. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  41. LIBSTDCXXVER:= 21
  42. endif
  43. ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
  44. PKG_VERSION:= 4.9.3-nds32
  45. PKG_HASH:= cbc55dac427e44cc56ee01b6b4d5e91ab0a7c79da7d4a4bbd1ebd48e5ce3abd4
  46. PKG_SITES:= http://distfiles.openadk.org/
  47. PKG_RELEASE:= 1
  48. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  49. endif
  50. ifeq ($(ADK_TOOLCHAIN_GCC_4_4),y)
  51. PKG_VERSION:= 4.4.7
  52. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  53. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  54. PKG_RELEASE:= 1
  55. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  56. LIBSTDCXXVER:= 19
  57. endif
  58. ifeq ($(ADK_TOOLCHAIN_GCC_4_2),y)
  59. PKG_VERSION:= 4.2.4
  60. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  61. PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
  62. PKG_RELEASE:= 1
  63. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  64. LIBSTDCXXVER:= 19
  65. endif
  66. ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
  67. PKG_VERSION:= git
  68. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  69. PKG_RELEASE:= 1
  70. LIBSTDCXXVER:= 21
  71. endif