diff options
Diffstat (limited to 'config/toolchain.in')
-rw-r--r-- | config/toolchain.in | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/config/toolchain.in b/config/toolchain.in index 9d3ad18..36a4782 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -20,7 +20,7 @@ config USE_SYSROOT config SYSROOT_NAME string - prompt "sysroot directory name" if ! BACKEND + prompt "sysroot directory name" depends on USE_SYSROOT default "sysroot" help @@ -33,7 +33,7 @@ config SYSROOT_NAME config SYSROOT_DIR_PREFIX string - prompt "sysroot prefix dir (READ HELP)" if ! BACKEND + prompt "sysroot prefix dir (READ HELP)" depends on USE_SYSROOT default "" help @@ -47,14 +47,18 @@ config SYSROOT_DIR_PREFIX In fact, the sysroot path is constructed as: ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/${CT_SYSROOT_NAME} +# FIXME: the name is misleading, it is only checking if we want the build machine +# to support static linking. config WANTS_STATIC_LINK bool +config WANTS_STATIC_LINK_CXX + bool config STATIC_TOOLCHAIN bool prompt "Build Static Toolchain" depends on CONFIGURE_has_static_link - select WANTS_STATIC_LINK + select WANTS_STATIC_LINK if NATIVE || CROSS help Build static host binaries. @@ -72,6 +76,22 @@ config STATIC_TOOLCHAIN NOTE: this has no connection to whether the target libraries will be dynamic or static. This only applies to the tools themselves. +config SHOW_CT_VERSION + bool + prompt "Add crosstool-NG version to --version output" + default y + help + If yes, the crosstool-NG version will be included in the output of + gcc --version, and also in binutils, glibc, gdb and gdbserver. + + If this is enabled, the package version will include: + "crosstool-NG ${CT_VERSION}" + + If this is disabled and no ID string is given below, the default + of each individual package will be used. + + This is passed to the configure flag --with-pkgversion. + config TOOLCHAIN_PKGVERSION string prompt "Toolchain ID string" @@ -82,10 +102,10 @@ config TOOLCHAIN_PKGVERSION the output of gcc --version, and also in binutils, glibc, gdb and gdbserver. - If this string is left empty, the actual package version will be: - "crosstool-NG ${CT_VERSION}" - Otherwise, it will be: + If this is enabled, it will either be added to the crosstool-NG version: "crosstool-NG ${CT_VERSION} - ${CT_TOOLCHAIN_PKGVERSION}" + Or it will be entirely on its own: + "${CT_TOOLCHAIN_PKGVERSION}" This is passed to the configure flag --with-pkgversion. @@ -101,7 +121,7 @@ comment "Tuple completion and aliasing" config TARGET_VENDOR string prompt "Tuple's vendor string" - depends on !LIBC_avr_libc + depends on !OMIT_TARGET_VENDOR default "unknown" help Vendor part of the target tuple. @@ -162,14 +182,14 @@ config NATIVE depends on EXPERIMENTAL help Build a native toolchain. - See: "docs/6 - Toolchain types.txt" + See: "docs/6_Toolchain_Types.md" config CROSS bool prompt "Cross" help Build a cross-toolchain. - See: "docs/6 - Toolchain types.txt" + See: "docs/6_Toolchain_Types.md" config CROSS_NATIVE bool @@ -177,14 +197,14 @@ config CROSS_NATIVE depends on EXPERIMENTAL help Build a cross-native toolchain. - See: "docs/6 - Toolchain types.txt" + See: "docs/6_Toolchain_Types.md" config CANADIAN bool prompt "Canadian" help Build a canadian-toolchain. - See: "docs/6 - Toolchain types.txt" + See: "docs/6_Toolchain_Types.md" endchoice |