Makefile.inc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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_14),y)
  5. PKG_VERSION:= 14.2.0
  6. PKG_HASH:= 7d376d445f93126dc545e2c0086d0f647c3094aae081cdb78f42ce2bc25e7293
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  10. LIBSTDCXXVER:= 30
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_13),y)
  13. PKG_VERSION:= 13.3.0
  14. PKG_HASH:= 3a2b10cab86e32358fdac871546d57e2700e9bdb5875ef33fff5b601265b9e32
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. LIBSTDCXXVER:= 29
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_12),y)
  21. PKG_VERSION:= 12.4.0
  22. PKG_HASH:= 5a30de2be740062bb3ddd3fd13c9b1bb4584d8f85616d33f23a713439d714148
  23. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  26. LIBSTDCXXVER:= 28
  27. endif
  28. ifeq ($(ADK_TOOLCHAIN_GCC_11),y)
  29. PKG_VERSION:= 11.5.0
  30. PKG_HASH:= 5a447f9a2566d15376beece02270decec8b8c1fcb094b93cb335b23497d58117
  31. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  32. PKG_RELEASE:= 1
  33. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  34. LIBSTDCXXVER:= 27
  35. endif
  36. ifeq ($(ADK_TOOLCHAIN_GCC_10),y)
  37. PKG_VERSION:= 10.5.0
  38. PKG_HASH:= eed4dd5fc3cd9f52cb3a51a4fde1728cb19ec76292f559518e83652e7437befe
  39. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  40. PKG_RELEASE:= 1
  41. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  42. LIBSTDCXXVER:= 26
  43. endif
  44. ifeq ($(ADK_TOOLCHAIN_GCC_9),y)
  45. PKG_VERSION:= 9.5.0
  46. PKG_HASH:= 15b34072105272a3eb37f6927409f7ce9aa0dd1498efebc35f851d6e6f029a4d
  47. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  48. PKG_RELEASE:= 1
  49. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  50. LIBSTDCXXVER:= 25
  51. endif
  52. ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
  53. PKG_VERSION:= 8.5.0
  54. PKG_HASH:= 6e6e0628573d2185727a2dd83211d04a2b2748e4a262099099b9c8064634c9ee
  55. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  56. PKG_RELEASE:= 1
  57. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  58. LIBSTDCXXVER:= 24
  59. endif
  60. ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
  61. PKG_VERSION:= 7.5.0
  62. PKG_HASH:= 4f518f18cfb694ad7975064e99e200fe98af13603b47e67e801ba9580e50a07f
  63. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  64. PKG_RELEASE:= 1
  65. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  66. LIBSTDCXXVER:= 23
  67. endif
  68. ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
  69. PKG_VERSION:= 6.5.0
  70. PKG_HASH:= 4eed92b3c24af2e774de94e96993aadbf6761cdf7a0345e59eb826d20a9ebf73
  71. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  72. PKG_RELEASE:= 1
  73. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  74. LIBSTDCXXVER:= 22
  75. endif
  76. ifeq ($(ADK_TOOLCHAIN_GCC_5),y)
  77. PKG_VERSION:= 5.5.0
  78. PKG_HASH:= 3aabce75d6dd206876eced17504b28d47a724c2e430dbd2de176beb948708983
  79. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  80. PKG_RELEASE:= 1
  81. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  82. LIBSTDCXXVER:= 21
  83. endif
  84. ifeq ($(ADK_TOOLCHAIN_GCC_4),y)
  85. PKG_VERSION:= 4.9.4
  86. PKG_HASH:= 1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d
  87. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  88. PKG_RELEASE:= 1
  89. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  90. LIBSTDCXXVER:= 20
  91. endif
  92. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  93. PKG_VERSION:= arc-2023.09
  94. PKG_GIT:= tag
  95. PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
  96. PKG_RELEASE:= 1
  97. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  98. LIBSTDCXXVER:= 29
  99. endif
  100. ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
  101. PKG_VERSION:= 4.4.7
  102. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  103. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  104. PKG_RELEASE:= 1
  105. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  106. LIBSTDCXXVER:= 19
  107. endif
  108. ifeq ($(ADK_TOOLCHAIN_GCC_LM32),y)
  109. PKG_VERSION:= 4.5.4
  110. PKG_HASH:= 33fb968907ef7b6c528f6395ba049eb34c4df859bf5aa6c2bc3856268801e078
  111. PKG_SITES:= https://ftp.gnu.org/gnu/gcc/gcc-$(PKG_VERSION)/
  112. PKG_RELEASE:= 1
  113. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  114. LIBSTDCXXVER:= 19
  115. endif
  116. ifeq ($(ADK_TOOLCHAIN_GCC_METAG),y)
  117. PKG_VERSION:= 4.2.4
  118. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  119. PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
  120. PKG_RELEASE:= 1
  121. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  122. LIBSTDCXXVER:= 19
  123. endif
  124. ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
  125. PKG_VERSION:= 4.9.3
  126. PKG_HASH:= e6c63b40877bc756cc7cfe6ca98013eb15f02ec6c8c2cf68e24533ad1203aaba
  127. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  128. PKG_RELEASE:= 1
  129. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  130. LIBSTDCXXVER:= 20
  131. endif
  132. ifeq ($(ADK_TOOLCHAIN_GCC_KVX),y)
  133. PKG_VERSION:= f98c17b1e78dd3a3da45c0ac1af7b105edf2bf66
  134. PKG_GIT:= hash
  135. PKG_SITES:= https://github.com/kalray/gcc.git
  136. PKG_RELEASE:= 1
  137. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  138. endif
  139. ifeq ($(ADK_TOOLCHAIN_GCC_XTENSA),y)
  140. PKG_VERSION:= xtensa-fdpic-abi-spec-1.4
  141. PKG_GIT:= tag
  142. PKG_SITES:= https://github.com/jcmvbkbc/gcc-xtensa.git
  143. PKG_RELEASE:= 1
  144. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  145. LIBSTDCXXVER:= 30
  146. endif
  147. ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
  148. PKG_VERSION:= git
  149. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  150. PKG_RELEASE:= 1
  151. LIBSTDCXXVER:= 30
  152. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  153. endif