diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-21 22:35:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-29 03:43:36 +0200 |
commit | 53361ff7109edba622d927dc9d58c212d0a2f507 (patch) | |
tree | 63367a47caaa9ffbb078f03d32e887832f1475f5 /toolchain/gcc | |
parent | 4de977100948cc66b892fe4dafa6d2b6fbbe5b34 (diff) |
add basic support for architecture c-sky, not yet working
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 |