package/glibc: add C-SKY specific version
authorGuo Ren <ren_guo@c-sky.com>
Fri, 31 May 2019 06:39:06 +0000 (14:39 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 21:00:42 +0000 (23:00 +0200)
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash [new file with mode: 0644]
package/glibc/glibc.mk
toolchain/toolchain-buildroot/Config.in

diff --git a/package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash b/package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash
new file mode 100644 (file)
index 0000000..a61bd65
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated (fetched from https://github.com/c-sky/glibc)
+sha512 9deb2deceefe347d72de13510a5baa3de00f94c684f3b25e136ca3660f61e65a69f2115abb488c2ab0fa93cda8535853ce1e13e186efcc8434ecc4049efd82b5  glibc-7630ed2fa60caea98f500e4a7a51b88f9bf1e176.tar.gz
index 9cfca73e859de21c00b7210767c1dbfd4eb9fa0c..26873f3101034173566c04903e762b708a6164ba 100644 (file)
@@ -10,6 +10,9 @@ GLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,glibc,$(GLIBC_VE
 else ifeq ($(BR2_RISCV_32),y)
 GLIBC_VERSION = 06983fe52cfe8e4779035c27e8cc5d2caab31531
 GLIBC_SITE = $(call github,riscv,riscv-glibc,$(GLIBC_VERSION))
+else ifeq ($(BR2_csky),y)
+GLIBC_VERSION = 7630ed2fa60caea98f500e4a7a51b88f9bf1e176
+GLIBC_SITE = $(call github,c-sky,glibc,$(GLIBC_VERSION))
 else
 # Generate version string using:
 #   git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
index beb17a218b579a4e5f2e7db826c0fb8188fa94bc..d9f16e2a3ac81c1e488bfd4b3a014b9a0e11a9c8 100644 (file)
@@ -48,7 +48,7 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
                   BR2_powerpc     || BR2_powerpc64  || BR2_powerpc64le || \
                   BR2_riscv       || BR2_sh         || BR2_sparc64     || \
                   BR2_x86_64      || BR2_microblaze || BR2_nios2       || \
-                  (BR2_arcle && BR2_ARC_ATOMIC_EXT)
+                  (BR2_arcle && BR2_ARC_ATOMIC_EXT) || BR2_csky
        depends on BR2_USE_MMU
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2