diff options
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/Makefile | 4 | ||||
-rw-r--r-- | toolchain/gcc/Makefile.inc | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 397a74279..a36986f4d 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -118,6 +118,10 @@ ifeq ($(ADK_TARGET_ARCH_BFIN),y) GCC_CONFOPTS+= --disable-symvers endif +ifeq ($(ADK_TARGET_ARCH_CSKY),y) +GCC_CONFOPTS+= --with-cskyabi=abiv1 +endif + ifeq ($(ADK_TARGET_ARCH_METAG),y) GCC_CONFOPTS+= --with-cpu=2.1 --enable-meta-default --disable-symvers endif diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc index 0b4103c91..8a1d5fa43 100644 --- a/toolchain/gcc/Makefile.inc +++ b/toolchain/gcc/Makefile.inc @@ -33,6 +33,13 @@ PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git PKG_RELEASE:= 1 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz endif +ifeq ($(ADK_TOOLCHAIN_GCC_CSKY),y) +PKG_VERSION:= gcc-6-branch-csky +PKG_GIT:= branch +PKG_SITES:= https://github.com/c-sky/gcc.git +PKG_RELEASE:= 1 +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz +endif ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y) PKG_VERSION:= musl-5.4.0 PKG_GIT:= branch |