summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.libc9
-rw-r--r--toolchain/glibc/Makefile.inc8
2 files changed, 15 insertions, 2 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 91ce9f091..ebf477bbb 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -67,6 +67,7 @@ config ADK_TARGET_LIB_GLIBC
ADK_TARGET_ARCH_AARCH64 || \
ADK_TARGET_ARCH_ALPHA || \
ADK_TARGET_ARCH_ARM || \
+ ADK_TARGET_ARCH_CSKY || \
ADK_TARGET_ARCH_HPPA || \
ADK_TARGET_ARCH_IA64 || \
ADK_TARGET_ARCH_M68K || \
@@ -148,15 +149,19 @@ config ADK_TARGET_LIB_UCLIBC_NG_GIT
config ADK_TARGET_LIB_GLIBC_2_26
bool "2.26"
- depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_RISCV32 && !ADK_TARGET_ARCH_RISCV64
+ depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_RISCV32 && !ADK_TARGET_ARCH_RISCV64 && !ADK_TARGET_ARCH_CSKY
config ADK_TARGET_LIB_GLIBC_RISCV
bool "riscv"
depends on ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
+config ADK_TARGET_LIB_GLIBC_CSKY
+ bool "csky"
+ depends on ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_CSKY
+
config ADK_TARGET_LIB_GLIBC_GIT
bool "git"
- depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_RISCV32 && !ADK_TARGET_ARCH_RISCV64
+ depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_RISCV32 && !ADK_TARGET_ARCH_RISCV64 && !ADK_TARGET_ARCH_CSKY
config ADK_TARGET_LIB_MUSL_1_1_18
bool "1.1.18"
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index 728fe6270..6585d5e3f 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -15,6 +15,14 @@ PKG_RELEASE:= 1
PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
PKG_HASH:= e54e0a934cd2bc94429be79da5e9385898d2306b9eaf3c92d5a77af96190f6bd
endif
+ifeq ($(ADK_TARGET_LIB_GLIBC_CSKY),y)
+PKG_VERSION:= master
+PKG_GLIBCVER:= 2.25
+PKG_GIT:= branch
+PKG_SITES:= https://github.com/c-sky/glibc.git
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TARGET_LIB_GLIBC_RISCV),y)
PKG_VERSION:= riscv-glibc-2.26
PKG_GLIBCVER:= 2.26