mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/glibc: Enable LoongArch64 support
Glibc introduced LoongArch64 support in 2.36, it requires kernel 5.19 to build. Unselect BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT to reflect we can build the toolchain. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
54895db9c1
commit
5495bdd430
@@ -85,7 +85,6 @@ config BR2_loongarch64
|
|||||||
select BR2_USE_MMU
|
select BR2_USE_MMU
|
||||||
select BR2_ARCH_IS_64
|
select BR2_ARCH_IS_64
|
||||||
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
|
||||||
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
|
|
||||||
help
|
help
|
||||||
LoongArch64 is 64-bit architecture developed by Loongson.
|
LoongArch64 is 64-bit architecture developed by Loongson.
|
||||||
http://www.loongson.cn/
|
http://www.loongson.cn/
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
|
|||||||
default y if BR2_aarch64
|
default y if BR2_aarch64
|
||||||
default y if BR2_aarch64_be
|
default y if BR2_aarch64_be
|
||||||
default y if BR2_i386
|
default y if BR2_i386
|
||||||
|
default y if BR2_loongarch64
|
||||||
default y if BR2_m68k_m68k
|
default y if BR2_m68k_m68k
|
||||||
default y if BR2_mips
|
default y if BR2_mips
|
||||||
default y if BR2_mipsel
|
default y if BR2_mipsel
|
||||||
@@ -35,6 +36,7 @@ config BR2_PACKAGE_GLIBC_SUPPORTS
|
|||||||
# toolchain/toolchain-buildroot/Config.in
|
# toolchain/toolchain-buildroot/Config.in
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le
|
||||||
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19 || !BR2_loongarch64
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 || !BR2_MIPS_NAN_2008
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 || !BR2_MIPS_NAN_2008
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_RISCV_32
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_RISCV_32
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_RISCV_64
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_RISCV_64
|
||||||
|
|||||||
@@ -48,6 +48,10 @@ comment "glibc needs a toolchain w/ kernel headers >= 3.2"
|
|||||||
depends on BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
|
||||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
||||||
|
|
||||||
|
comment "glibc on LoongArch64 needs a toolchain w/ headers >= 5.19"
|
||||||
|
depends on BR2_loongarch64
|
||||||
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
||||||
|
|
||||||
# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le.
|
# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le.
|
||||||
comment "glibc on powerpc64le needs a toolchain w/ headers >= 3.10"
|
comment "glibc on powerpc64le needs a toolchain w/ headers >= 3.10"
|
||||||
depends on BR2_powerpc64le
|
depends on BR2_powerpc64le
|
||||||
|
|||||||
Reference in New Issue
Block a user