Makefile.inc 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_8),y)
  5. PKG_VERSION:= 8.1.0
  6. PKG_HASH:= 1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  10. LIBSTDCXXVER:= 24
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
  13. PKG_VERSION:= 7.3.0
  14. PKG_HASH:= 832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  18. LIBSTDCXXVER:= 23
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
  21. PKG_VERSION:= 6.3.0
  22. PKG_HASH:= 02f9302a559fa2251595ca0bc1e937219eff2995a3802d7b31676fec2402beb4
  23. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  26. LIBSTDCXXVER:= 22
  27. endif
  28. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  29. PKG_VERSION:= arc-2018.03-rc2
  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_CSKY),y)
  44. PKG_VERSION:= gcc-6-branch-csky
  45. PKG_GIT:= branch
  46. PKG_SITES:= https://github.com/c-sky/gcc.git
  47. PKG_RELEASE:= 1
  48. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  49. endif
  50. ifeq ($(ADK_TOOLCHAIN_GCC_METAG),y)
  51. PKG_VERSION:= 4.2.4
  52. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  53. PKG_SITES:= http://gcc.cybermirror.org/releases/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_NDS32),y)
  59. PKG_VERSION:= nds32-6.3.0-open
  60. PKG_HASH:= b23ce96df25dfdd5526496a3c2cd7ee1da4ed4094971a2e0c47c73ad7e1ad30a
  61. PKG_SITES:= https://github.com/andestech/gcc.git
  62. PKG_RELEASE:= 1
  63. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  64. endif
  65. ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
  66. PKG_VERSION:= musl-5.4.0
  67. PKG_GIT:= branch
  68. PKG_SITES:= https://github.com/openrisc/or1k-gcc.git
  69. PKG_RELEASE:= 1
  70. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  71. LIBSTDCXXVER:= 21
  72. endif
  73. ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
  74. PKG_VERSION:= git
  75. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  76. PKG_RELEASE:= 1
  77. LIBSTDCXXVER:= 23
  78. endif