summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.compiler6
-rw-r--r--target/linux/Config.in.kernelversion2
-rw-r--r--toolchain/gcc/Makefile.inc7
3 files changed, 13 insertions, 2 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 090144bae..19aaba3b7 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -14,13 +14,13 @@ prompt "GCC version"
depends on ADK_BUILD_COMPILER_GCC
default ADK_TOOLCHAIN_GCC_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_GCC_AVR32 if ADK_TARGET_ARCH_AVR32
+default ADK_TOOLCHAIN_GCC_CSKY if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_LM32 if ADK_TARGET_ARCH_LM32
default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
-default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_GCC_8
config ADK_TOOLCHAIN_GCC_GIT
@@ -66,6 +66,10 @@ config ADK_TOOLCHAIN_GCC_AVR32
bool "4.4.7-avr32"
depends on ADK_TARGET_ARCH_AVR32
+config ADK_TOOLCHAIN_GCC_CSKY
+ bool "6.3.0-csky"
+ depends on ADK_TARGET_ARCH_CSKY
+
config ADK_TOOLCHAIN_GCC_METAG
bool "4.2.4-metag"
depends on ADK_TARGET_ARCH_METAG
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 8ee00c734..e7a0c33c3 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -233,7 +233,7 @@ config ADK_TARGET_LINUX_KERNEL_GIT_REPO_NAME
config ADK_TARGET_LINUX_KERNEL_GIT
string "git version"
depends on ADK_TARGET_LINUX_KERNEL_VERSION_GIT
- default "6064a9bdf48cefbccc4f6472dd04251f0dec1931" if ADK_TARGET_ARCH_CSKY
+ default "10c530f34ed3fb9eb89ff7d7a95df62a2072b623" if ADK_TARGET_ARCH_CSKY
default "6a2f2e4198eaff63ee75f6085ce9f966c47b4441" if ADK_TARGET_ARCH_LM32
default "a2092141807514666a273971cc8fa9e80f14439f" if ADK_TARGET_BOARD_BCM28XX
default "f8d3b2a0fa5054aaed0f14cd457db9d8922bb167" if ADK_TARGET_SYSTEM_ADSP_BF537
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 4586d5282..0784fe078 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_AVR32),y)
PKG_VERSION:= 4.4.7
PKG_HASH:= 76ad7c433af1c798a1e116c4dfa8f5f794f0d32bff65f88c54dcd5e5d146fc32