xtensa: preliminary support for upcoming FDPIC support in uClibc-ng
[openadk.git] / toolchain / gcc / Makefile.inc
blob2b6132cd522f9b356f04275d175c8fcbf5f14c86
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 PKG_NAME:=              gcc
5 ifeq ($(ADK_TOOLCHAIN_GCC_13),y)
6 PKG_VERSION:=           13.2.0
7 PKG_HASH:=              8cb4be3796651976f94b9356fa08d833524f62420d6292c5033a9a26af315078
8 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
9 PKG_RELEASE:=           1
10 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
11 LIBSTDCXXVER:=          29
12 endif
13 ifeq ($(ADK_TOOLCHAIN_GCC_12),y)
14 PKG_VERSION:=           12.3.0
15 PKG_HASH:=              11275aa7bb34cd8ab101d01b341015499f8d9466342a2574ece93f954d92273b
16 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
17 PKG_RELEASE:=           1
18 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 LIBSTDCXXVER:=          28
20 endif
21 ifeq ($(ADK_TOOLCHAIN_GCC_11),y)
22 PKG_VERSION:=           11.4.0
23 PKG_HASH:=              af828619dd1970734dda3cfb792ea3f2cba61b5a00170ba8bce4910749d73c07
24 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
25 PKG_RELEASE:=           1
26 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
27 LIBSTDCXXVER:=          27
28 endif
29 ifeq ($(ADK_TOOLCHAIN_GCC_10),y)
30 PKG_VERSION:=           10.5.0
31 PKG_HASH:=              eed4dd5fc3cd9f52cb3a51a4fde1728cb19ec76292f559518e83652e7437befe
32 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
33 PKG_RELEASE:=           1
34 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
35 LIBSTDCXXVER:=          26
36 endif
37 ifeq ($(ADK_TOOLCHAIN_GCC_9),y)
38 PKG_VERSION:=           9.5.0
39 PKG_HASH:=              15b34072105272a3eb37f6927409f7ce9aa0dd1498efebc35f851d6e6f029a4d
40 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
41 PKG_RELEASE:=           1
42 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
43 LIBSTDCXXVER:=          25
44 endif
45 ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
46 PKG_VERSION:=           8.5.0
47 PKG_HASH:=              6e6e0628573d2185727a2dd83211d04a2b2748e4a262099099b9c8064634c9ee
48 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
49 PKG_RELEASE:=           1
50 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
51 LIBSTDCXXVER:=          24
52 endif
53 ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
54 PKG_VERSION:=           7.5.0
55 PKG_HASH:=              4f518f18cfb694ad7975064e99e200fe98af13603b47e67e801ba9580e50a07f
56 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
57 PKG_RELEASE:=           1
58 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
59 LIBSTDCXXVER:=          23
60 endif
61 ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
62 PKG_VERSION:=           arc-2023.09
63 PKG_GIT:=               tag
64 PKG_SITES:=             https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
65 PKG_RELEASE:=           1
66 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
67 LIBSTDCXXVER:=          29
68 endif
69 ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
70 PKG_VERSION:=           4.4.7
71 PKG_HASH:=              76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
72 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
73 PKG_RELEASE:=           1
74 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
75 LIBSTDCXXVER:=          19
76 endif
77 ifeq ($(ADK_TOOLCHAIN_GCC_LM32),y)
78 PKG_VERSION:=           4.5.4
79 PKG_HASH:=              33fb968907ef7b6c528f6395ba049eb34c4df859bf5aa6c2bc3856268801e078
80 PKG_SITES:=             https://ftp.gnu.org/gnu/gcc/gcc-$(PKG_VERSION)/
81 PKG_RELEASE:=           1
82 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
83 LIBSTDCXXVER:=          19
84 endif
85 ifeq ($(ADK_TOOLCHAIN_GCC_METAG),y)
86 PKG_VERSION:=           4.2.4
87 PKG_HASH:=              7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
88 PKG_SITES:=             http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
89 PKG_RELEASE:=           1
90 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
91 LIBSTDCXXVER:=          19
92 endif
93 ifeq ($(ADK_TOOLCHAIN_GCC_KVX),y)
94 PKG_VERSION:=           f98c17b1e78dd3a3da45c0ac1af7b105edf2bf66
95 PKG_GIT:=               hash
96 PKG_SITES:=             https://github.com/kalray/gcc.git
97 PKG_RELEASE:=           1
98 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
99 endif
100 ifeq ($(ADK_TOOLCHAIN_GCC_XTENSA),y)
101 PKG_VERSION:=           xtensa-fdpic-abi-spec-1.1
102 PKG_GIT:=               tag
103 PKG_SITES:=             https://github.com/jcmvbkbc/gcc-xtensa.git
104 PKG_RELEASE:=           1
105 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
106 LIBSTDCXXVER:=          29
107 endif
108 ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
109 PKG_VERSION:=           git
110 PKG_SITES:=             https://github.com/gcc-mirror/gcc.git
111 PKG_RELEASE:=           1
112 LIBSTDCXXVER:=          23
113 endif