1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 ifeq ($(ADK_TOOLCHAIN_GCC_8),y)
7 PKG_HASH:= 196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080
8 PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
10 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
13 ifeq ($(ADK_TOOLCHAIN_GCC_7),y)
15 PKG_HASH:= eddde28d04f334aec1604456e536416549e9b1aa137fc69204e65eb0c009fe51
16 PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
21 ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
22 PKG_VERSION:= arc-2018.03-release
24 PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
26 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
28 ifeq ($(ADK_TOOLCHAIN_GCC_AVR32),y)
30 PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32
31 PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
33 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
36 ifeq ($(ADK_TOOLCHAIN_GCC_CSKY),y)
37 PKG_VERSION:= gcc-6-branch-csky
39 PKG_SITES:= https://github.com/c-sky/gcc.git
41 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
43 ifeq ($(ADK_TOOLCHAIN_GCC_METAG),y)
45 PKG_HASH:= 7cb75c5183bd18f415860084440377016dc78feeee2852227b831f2e4fcaa5d6
46 PKG_SITES:= http://gcc.cybermirror.org/releases/gcc-${PKG_VERSION}/
48 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
51 ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
52 PKG_VERSION:= nds32-6.3.0-open
53 PKG_HASH:= b23ce96df25dfdd5526496a3c2cd7ee1da4ed4094971a2e0c47c73ad7e1ad30a
54 PKG_SITES:= https://github.com/andestech/gcc.git
56 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
58 ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y)
59 PKG_VERSION:= musl-5.4.0
61 PKG_SITES:= https://github.com/openrisc/or1k-gcc.git
63 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
66 ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y)
68 PKG_SITES:= https://github.com/gcc-mirror/gcc.git