1 # Config entries for internal toolchain backend
3 if BR2_TOOLCHAIN_BUILDROOT
5 config BR2_TOOLCHAIN_BUILDROOT_VENDOR
6 string "custom toolchain vendor name"
9 This option allows to customize the "vendor" part of the
10 toolchain tuple, where the toolchain tuple has the form
11 <arch>-<vendor>-<os>-<libc>. The default value, "buildroot",
12 is fine for most cases, except in very specific situations
13 where gcc might make different decisions based on the vendor
14 part of the tuple. The value "unknown" is not allowed, as the
15 cross-compiling toolchain might then be confused with the
16 native toolchain when the target and host architecture are
17 identical. The value can not be empty either.
19 If you're not sure, just leave the default "buildroot" value.
21 source "package/linux-headers/Config.in.host"
25 default BR2_TOOLCHAIN_UCLIBC
26 default BR2_TOOLCHAIN_BUILDROOT_EGLIBC if BR2_mips64 || BR2_mips64el
28 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
30 select BR2_TOOLCHAIN_USES_UCLIBC
31 depends on BR2_arcle || BR2_arceb || BR2_arm || BR2_armeb || \
32 BR2_avr32 || BR2_bfin || BR2_i386 || BR2_m68k || \
33 BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
34 BR2_powerpc || BR2_sh || BR2_sparc || BR2_xtensa || \
37 This option selects uClibc as the C library for the
38 cross-compilation toolchain.
42 config BR2_TOOLCHAIN_BUILDROOT_EGLIBC
44 depends on BR2_arm || BR2_armeb || BR2_aarch64 || \
45 BR2_i386 || BR2_mips || BR2_mipsel || \
46 BR2_mips64 || BR2_mips64el || BR2_powerpc || \
47 BR2_sh || BR2_sh64 || BR2_sparc || \
48 BR2_x86_64 || BR2_microblaze || BR2_powerpc64
49 depends on BR2_USE_MMU
50 depends on !BR2_PREFER_STATIC_LIB
51 select BR2_TOOLCHAIN_USES_GLIBC
52 # our eglibc.mk enables RPC support
53 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
55 This option selects eglibc as the C library for the
56 cross-compilation toolchain.
60 config BR2_TOOLCHAIN_BUILDROOT_GLIBC
62 depends on BR2_arm || BR2_armeb || BR2_aarch64 || \
63 BR2_i386 || BR2_mips || BR2_mipsel || \
64 BR2_mips64 || BR2_mips64el || BR2_powerpc || \
65 BR2_powerpc64 || BR2_powerpc64le || BR2_sh || \
66 BR2_sh64 || BR2_sparc || BR2_x86_64 || \
68 depends on BR2_USE_MMU
69 depends on !BR2_PREFER_STATIC_LIB
70 depends on !BR2_powerpc_SPE
71 select BR2_TOOLCHAIN_USES_GLIBC
72 # our glibc.mk enables RPC support
73 select BR2_TOOLCHAIN_HAS_NATIVE_RPC
75 This option selects glibc as the C library for the
76 cross-compilation toolchain.
78 http://www.gnu.org/software/libc/
80 comment "(e)glibc only available with shared lib support"
81 depends on BR2_PREFER_STATIC_LIB
83 config BR2_TOOLCHAIN_BUILDROOT_MUSL
84 bool "musl (experimental)"
85 depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazebe || \
86 BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
87 select BR2_TOOLCHAIN_USES_MUSL
89 This option selects musl as the C library for the
90 cross-compilation toolchain.
94 config BR2_TOOLCHAIN_BUILDROOT_LIBC
96 default "uclibc" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
97 # Both glibc and eglibc are handled by the package called
99 default "glibc" if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
100 default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
101 default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL
103 source "package/uclibc/Config.in"
104 source "package/glibc/Config.in"
105 source "package/binutils/Config.in.host"
106 source "package/gcc/Config.in.host"
107 source "package/elf2flt/Config.in.host"