1
0

Makefile.inc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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.3.0
  6. PKG_HASH:= 832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
  7. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  8. PKG_RELEASE:= 1
  9. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  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_ARC),y)
  21. PKG_VERSION:= arc-2018.03-eng007
  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_AVR32),y)
  28. PKG_VERSION:= 4.4.7
  29. PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
  30. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  31. PKG_RELEASE:= 1
  32. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  33. LIBSTDCXXVER:= 19
  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_METAG),y)
  43. PKG_VERSION:= 4.2.4
  44. PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
  45. PKG_SITES:= http://gcc.cybermirror.org/releases/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_NDS32),y)
  51. PKG_VERSION:= 4.9.4-nds32
  52. PKG_HASH:= b23ce96df25dfdd5526496a3c2cd7ee1da4ed4094971a2e0c47c73ad7e1ad30a
  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_OR1K),y)
  58. PKG_VERSION:= musl-5.4.0
  59. PKG_GIT:= branch
  60. PKG_SITES:= https://github.com/openrisc/or1k-gcc.git
  61. PKG_RELEASE:= 1
  62. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  63. LIBSTDCXXVER:= 21
  64. endif
  65. ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
  66. PKG_VERSION:= git
  67. PKG_SITES:= https://github.com/gcc-mirror/gcc.git
  68. PKG_RELEASE:= 1
  69. LIBSTDCXXVER:= 23
  70. endif