arc: switch to upstream binutils and gcc
[openadk.git] / toolchain / gcc / Makefile.inc
blob3f1e4fda814a3166dd6f7290438bab495ee0193f
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_7),y)
6 PKG_VERSION:=           7.2.0
7 PKG_HASH:=              0153a003d3b433459336a91610cca2995ee0fb3d71131bd72555f2231a6efcfc
8 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
9 PKG_RELEASE:=           1
10 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
11 LIBSTDCXXVER:=          23
12 endif
13 ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
14 PKG_VERSION:=           6.3.0
15 PKG_HASH:=              02f9302a559fa2251595ca0bc1e937219eff2995a3802d7b31676fec2402beb4
16 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
17 PKG_RELEASE:=           1
18 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 LIBSTDCXXVER:=          22
20 endif
21 ifeq ($(ADK_TOOLCHAIN_GCC_4_9),y)
22 PKG_VERSION:=           4.9.4
23 PKG_HASH:=              1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d
24 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
25 PKG_RELEASE:=           1
26 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
27 LIBSTDCXXVER:=          20
28 endif
29 ifeq ($(ADK_TOOLCHAIN_GCC_CSKY),y)
30 PKG_VERSION:=           gcc-6-branch-csky
31 PKG_GIT:=               branch
32 PKG_SITES:=             https://github.com/c-sky/gcc.git
33 PKG_RELEASE:=           1
34 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
35 endif
36 ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
37 PKG_VERSION:=           musl-5.4.0
38 PKG_GIT:=               branch
39 PKG_SITES:=             https://github.com/openrisc/or1k-gcc.git
40 PKG_RELEASE:=           1
41 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
42 LIBSTDCXXVER:=          21
43 endif
44 ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
45 PKG_VERSION:=           4.9.4-nds32
46 PKG_HASH:=              b23ce96df25dfdd5526496a3c2cd7ee1da4ed4094971a2e0c47c73ad7e1ad30a
47 PKG_SITES:=             http://distfiles.openadk.org/
48 PKG_RELEASE:=           1
49 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.xz
50 endif
51 ifeq ($(ADK_TOOLCHAIN_GCC_4_4),y)
52 PKG_VERSION:=           4.4.7
53 PKG_HASH:=              76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
54 PKG_SITES:=             ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
55 PKG_RELEASE:=           1
56 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
57 LIBSTDCXXVER:=          19
58 endif
59 ifeq ($(ADK_TOOLCHAIN_GCC_4_2),y)
60 PKG_VERSION:=           4.2.4
61 PKG_HASH:=              7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
62 PKG_SITES:=             http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
63 PKG_RELEASE:=           1
64 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.gz
65 LIBSTDCXXVER:=          19
66 endif
67 ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
68 PKG_VERSION:=           git
69 PKG_SITES:=             https://github.com/gcc-mirror/gcc.git
70 PKG_RELEASE:=           1
71 LIBSTDCXXVER:=          21
72 endif