Makefile.inc 2.5 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_7),y)
  5. PKG_VERSION:= 7.1.0
  6. PKG_HASH:= 3c187ef42e4cf657eec0ed641aac7f7e46261bcb1cea31b72dcf2dedddbbdea5
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  10. LIBSTDCXXVER:= 23
  11. endif
  12. ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
  13. PKG_VERSION:= 6.3.0
  14. PKG_HASH:= 02f9302a559fa2251595ca0bc1e937219eff2995a3802d7b31676fec2402beb4
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. LIBSTDCXXVER:= 22
  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_CSKY),y)
  36. PKG_VERSION:= gcc-6-branch-csky
  37. PKG_GIT:= branch
  38. PKG_SITES:= https://github.com/c-sky/gcc.git
  39. PKG_RELEASE:= 1
  40. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  41. endif
  42. ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
  43. PKG_VERSION:= musl-5.4.0
  44. PKG_GIT:= branch
  45. PKG_SITES:= https://github.com/openrisc/or1k-gcc.git
  46. PKG_RELEASE:= 1
  47. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  48. LIBSTDCXXVER:= 21
  49. endif
  50. ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
  51. PKG_VERSION:= 4.9.3-nds32
  52. PKG_HASH:= b628ec1abf03c308b78b1c58d0e8fb90a50e48d195d4a8fc94b80fc1e290a9d5
  53. PKG_SITES:= http://distfiles.openadk.org/
  54. PKG_RELEASE:= 1
  55. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  56. endif
  57. ifeq ($(ADK_TOOLCHAIN_GCC_4_4),y)
  58. PKG_VERSION:= 4.4.7
  59. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  60. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  61. PKG_RELEASE:= 1
  62. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  63. LIBSTDCXXVER:= 19
  64. endif
  65. ifeq ($(ADK_TOOLCHAIN_GCC_4_2),y)
  66. PKG_VERSION:= 4.2.4
  67. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  68. PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
  69. PKG_RELEASE:= 1
  70. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  71. LIBSTDCXXVER:= 19
  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:= 21
  78. endif