Makefile.inc 2.4 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_9),y)
  5. PKG_VERSION:= 9.3.0
  6. PKG_HASH:= 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  10. LIBSTDCXXVER:= 25
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
  13. PKG_VERSION:= 8.4.0
  14. PKG_HASH:= e30a6e52d10e1f27ed55104ad233c30bd1e99cfb5ff98ab022dc941edd1b2dd4
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  18. LIBSTDCXXVER:= 24
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
  21. PKG_VERSION:= 7.5.0
  22. PKG_HASH:= b81946e7f01f90528a1f7352ab08cc602b9ccc05d4e44da4bd501c5a189ee661
  23. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  26. LIBSTDCXXVER:= 23
  27. endif
  28. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  29. PKG_VERSION:= arc-2019.03-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_AVR32),y)
  36. PKG_VERSION:= 4.4.7
  37. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  38. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  39. PKG_RELEASE:= 1
  40. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  41. LIBSTDCXXVER:= 19
  42. endif
  43. ifeq ($(ADK_TOOLCHAIN_GCC_METAG),y)
  44. PKG_VERSION:= 4.2.4
  45. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  46. PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
  47. PKG_RELEASE:= 1
  48. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  49. LIBSTDCXXVER:= 19
  50. endif
  51. ifeq ($(ADK_TOOLCHAIN_GCC_LM32),y)
  52. PKG_VERSION:= 4.5.4
  53. PKG_HASH:= 33fb968907ef7b6c528f6395ba049eb34c4df859bf5aa6c2bc3856268801e078
  54. PKG_SITES:= https://ftp.gnu.org/gnu/gcc/gcc-$(PKG_VERSION)/
  55. PKG_RELEASE:= 1
  56. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  57. LIBSTDCXXVER:= 19
  58. endif
  59. ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
  60. PKG_VERSION:= nds32-6.3.0-open
  61. PKG_HASH:= b23ce96df25dfdd5526496a3c2cd7ee1da4ed4094971a2e0c47c73ad7e1ad30a
  62. PKG_SITES:= https://github.com/andestech/gcc.git
  63. PKG_RELEASE:= 1
  64. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  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:= 23
  71. endif