Makefile.inc 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_11),y)
  5. PKG_VERSION:= 11.2.0
  6. PKG_HASH:= d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  10. LIBSTDCXXVER:= 27
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_10),y)
  13. PKG_VERSION:= 10.3.0
  14. PKG_HASH:= 64f404c1a650f27fc33da242e1f2df54952e3963a49e06e73f6940f3223ac344
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  18. LIBSTDCXXVER:= 26
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_9),y)
  21. PKG_VERSION:= 9.4.0
  22. PKG_HASH:= c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e
  23. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  26. LIBSTDCXXVER:= 25
  27. endif
  28. ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
  29. PKG_VERSION:= 8.5.0
  30. PKG_HASH:= d308841a511bb830a6100397b0042db24ce11f642dab6ea6ee44842e5325ed50
  31. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  32. PKG_RELEASE:= 1
  33. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  34. LIBSTDCXXVER:= 24
  35. endif
  36. ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
  37. PKG_VERSION:= 7.5.0
  38. PKG_HASH:= b81946e7f01f90528a1f7352ab08cc602b9ccc05d4e44da4bd501c5a189ee661
  39. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  40. PKG_RELEASE:= 1
  41. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  42. LIBSTDCXXVER:= 23
  43. endif
  44. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  45. PKG_VERSION:= arc-2021.09
  46. PKG_GIT:= tag
  47. PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
  48. PKG_RELEASE:= 1
  49. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  50. endif
  51. ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
  52. PKG_VERSION:= 4.4.7
  53. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  54. PKG_SITES:= ${MASTER_SITE_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_METAG),y)
  60. PKG_VERSION:= 4.2.4
  61. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  62. PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
  63. PKG_RELEASE:= 1
  64. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  65. LIBSTDCXXVER:= 19
  66. endif
  67. ifeq ($(ADK_TOOLCHAIN_GCC_KVX),y)
  68. PKG_VERSION:= 50bb1935d20f383c3d37c98b681f63de873688b2
  69. PKG_GIT:= hash
  70. PKG_SITES:= https://github.com/kalray/gcc.git
  71. PKG_RELEASE:= 1
  72. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  73. endif
  74. ifeq ($(ADK_TOOLCHAIN_GCC_LM32),y)
  75. PKG_VERSION:= 4.5.4
  76. PKG_HASH:= 33fb968907ef7b6c528f6395ba049eb34c4df859bf5aa6c2bc3856268801e078
  77. PKG_SITES:= https://ftp.gnu.org/gnu/gcc/gcc-$(PKG_VERSION)/
  78. PKG_RELEASE:= 1
  79. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  80. LIBSTDCXXVER:= 19
  81. endif
  82. ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
  83. PKG_VERSION:= git
  84. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  85. PKG_RELEASE:= 1
  86. LIBSTDCXXVER:= 23
  87. endif