mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
musl: enable mips64 support
Add support for mips64, which is available since musl 1.1.15. Only gcc 6.x has required support for it. Tested variations of little/big endian and hard/soft float. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0b7bf72aa4
commit
721e1c1e9c
@ -50,6 +50,8 @@ choice
|
|||||||
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
||||||
# musl ppc64 unsupported
|
# musl ppc64 unsupported
|
||||||
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
||||||
|
# musl mips64 unsupported
|
||||||
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
||||||
select BR2_GCC_NEEDS_MPC
|
select BR2_GCC_NEEDS_MPC
|
||||||
select BR2_GCC_SUPPORTS_GRAPHITE
|
select BR2_GCC_SUPPORTS_GRAPHITE
|
||||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
@ -72,6 +74,8 @@ choice
|
|||||||
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
||||||
# musl ppc64 unsupported
|
# musl ppc64 unsupported
|
||||||
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
||||||
|
# musl mips64 unsupported
|
||||||
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
||||||
# PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
# PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
|
||||||
select BR2_GCC_NEEDS_MPC
|
select BR2_GCC_NEEDS_MPC
|
||||||
select BR2_GCC_SUPPORTS_GRAPHITE
|
select BR2_GCC_SUPPORTS_GRAPHITE
|
||||||
@ -83,6 +87,8 @@ choice
|
|||||||
depends on !BR2_arc && !BR2_bfin
|
depends on !BR2_arc && !BR2_bfin
|
||||||
# musl ppc64 unsupported
|
# musl ppc64 unsupported
|
||||||
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64el))
|
||||||
|
# musl mips64 unsupported
|
||||||
|
depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
|
||||||
select BR2_GCC_NEEDS_MPC
|
select BR2_GCC_NEEDS_MPC
|
||||||
select BR2_GCC_SUPPORTS_GRAPHITE
|
select BR2_GCC_SUPPORTS_GRAPHITE
|
||||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||||
|
@ -68,9 +68,10 @@ comment "glibc only available with shared lib support"
|
|||||||
|
|
||||||
config BR2_TOOLCHAIN_BUILDROOT_MUSL
|
config BR2_TOOLCHAIN_BUILDROOT_MUSL
|
||||||
bool "musl"
|
bool "musl"
|
||||||
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
|
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \
|
||||||
BR2_microblaze || BR2_mips || BR2_mipsel || BR2_powerpc || \
|
BR2_microblaze || BR2_mips || BR2_mipsel || BR2_mips64 || \
|
||||||
BR2_powerpc64 || BR2_powerpc64le || BR2_sh || BR2_x86_64
|
BR2_mips64el || BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
|
||||||
|
BR2_sh || BR2_x86_64
|
||||||
depends on !BR2_powerpc_SPE # not supported, build breaks
|
depends on !BR2_powerpc_SPE # not supported, build breaks
|
||||||
# Unsupported for MIPS R6
|
# Unsupported for MIPS R6
|
||||||
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user