Makefile.inc 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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_4_9),y)
  13. PKG_VERSION:= 4.9.4
  14. PKG_HASH:= 1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d
  15. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  16. PKG_RELEASE:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. LIBSTDCXXVER:= 20
  19. endif
  20. ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
  21. PKG_VERSION:= arc-2017.03-release
  22. PKG_GIT:= tag
  23. PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
  24. PKG_RELEASE:= 1
  25. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  26. endif
  27. ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
  28. PKG_VERSION:= or1k-7-2
  29. PKG_GIT:= branch
  30. PKG_SITES:= https://github.com/rth7680/gcc.git
  31. PKG_RELEASE:= 1
  32. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  33. LIBSTDCXXVER:= 23
  34. endif
  35. ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
  36. PKG_VERSION:= 4.9.3-nds32
  37. PKG_HASH:= b628ec1abf03c308b78b1c58d0e8fb90a50e48d195d4a8fc94b80fc1e290a9d5
  38. PKG_SITES:= http://distfiles.openadk.org/
  39. PKG_RELEASE:= 1
  40. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  41. endif
  42. ifeq ($(ADK_TOOLCHAIN_GCC_4_4),y)
  43. PKG_VERSION:= 4.4.7
  44. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  45. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  46. PKG_RELEASE:= 1
  47. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  48. LIBSTDCXXVER:= 19
  49. endif
  50. ifeq ($(ADK_TOOLCHAIN_GCC_4_2),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_GIT),y)
  59. PKG_VERSION:= git
  60. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  61. PKG_RELEASE:= 1
  62. LIBSTDCXXVER:= 21
  63. endif