mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
toolchain-buildroot: add support for building musl toolchains
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
43b1cd3209
commit
a84f478d3c
@ -77,6 +77,15 @@ config BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
|||||||
comment "(e)glibc only available with shared lib support"
|
comment "(e)glibc only available with shared lib support"
|
||||||
depends on BR2_PREFER_STATIC_LIB
|
depends on BR2_PREFER_STATIC_LIB
|
||||||
|
|
||||||
|
config BR2_TOOLCHAIN_BUILDROOT_MUSL
|
||||||
|
bool "musl (experimental)"
|
||||||
|
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblaze || \
|
||||||
|
BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
|
||||||
|
select BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
help
|
||||||
|
This option selects musl as the C library for the
|
||||||
|
cross-compilation toolchain.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TOOLCHAIN_BUILDROOT_LIBC
|
config BR2_TOOLCHAIN_BUILDROOT_LIBC
|
||||||
@ -86,6 +95,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LIBC
|
|||||||
# 'glibc'
|
# 'glibc'
|
||||||
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
|
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
|
||||||
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
||||||
|
default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL
|
||||||
|
|
||||||
source "package/uclibc/Config.in"
|
source "package/uclibc/Config.in"
|
||||||
source "package/glibc/Config.in"
|
source "package/glibc/Config.in"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user