aboutsummaryrefslogtreecommitdiff
path: root/config/config.in
Commit message (Collapse)AuthorAgeFilesLines
* Add mold linker buildArnaud Vrac2024-06-051-0/+1
| | | | | | | | | | | | | | | Allows building the #mold linker, which can then be used in the cross-toolchain by passing the -fuse-ld=mold to the gcc flags. It is much faster than ld or gold. This requires a C++20 compiler and cmake. Initially implemented by Arnaud, and HC added configure check for cmake. Outstanding task to validate compiler is C++20 compatible. Signed-off-by: Arnaud Vrac <avrac@freebox.fr> Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
* config: Detect rsync presence at config timeChris Packham2023-12-181-0/+1
| | | | | | | | | | | | | | | | | | Linux kernel versions newer than 5.3 require rsync in order to export the UAPI headers. Commit f441a6bf ("linux: Add dependency on rsync for Linux >= 5.3") attempted to address this with a check that runs when crosstool-ng is built. That had the downside that if crosstool-ng was built and packaged on a machine that had rsync then run on a machine that didn't then the build would fail due to the missing rsync. Conversely if the first machine didn't have rsync installed when crosstool-ng was built then we would not offer newer kernel versions. We can address this by checking for rsync when the toolchain configuration is updated using some functionality in the newer Kconfig that we've updated to previously. Fixes #1940 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* config: Update environment variable usageChris Packham2021-02-021-1/+1
| | | | | | | Upstream changes in the way kconfig handles environment variables means we need to update our usage of them. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* config: Show crosstool-NG version in .configNathan Chancellor2017-09-011-0/+1
| | | | | | | | | | | | This was previously available in 6c62da480344 but was then removed in cb7fcbe1ef4f. Add it back since it will be helpful if the user wants to hide the crosstool-NG version in the pkgversion. To get the new version, a defconfig from "ct-ng savedefconfig" or "ct-ng oldconfig" must be used in combination with "ct-ng menuconfig" or "ct-ng nconfig". Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* Switch gen-kconfig to new frameworkAlexey Neyman2017-07-081-2/+2
| | | | | | | | | | | | | | | Also: - Move companion_* to comp_* to match the kconfig symbols - Replace bootstrap with former gen-versions.sh - Fold *.in.2 into their respective first parts; this moves common options to the end - if it is undesirable, inclusion of *.in can be moved where *.in.2 used to be (but that will also move version selection after common options). - Retire addToolVersion.sh (may later replace with a more comprehensive script that tries to download the added tarballs, copy the patches and try to apply them, and create a version.desc). Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire BACKEND stuffAlexey Neyman2017-04-231-1/+0
| | | | | | | ... it is possible to just not set it in the configuration, why force it? It just increases the complexity in Kconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* config: switch cc with libc in the config orderYann E. MORIN"2014-05-111-1/+1
| | | | | | | | | | | | | | | Some of the compiler options depend on the C library choice, (e.g. whether core passes are needed). Since the compiler menu comes before the C library menu, those options may or may not be visible until the C library is chosen, leading to either options being visible by the user (thus be puzzling as they would not apply to his case), or invisible to him (yet again puzzling him). Invert the order of the compiler and the C library in the menuconfig. It anyway looks more rational, in the end. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* kconfig: print version in .configYann E. MORIN"2011-08-301-1/+0
| | | | | | | | | | Having the crosstool-NG version in the .config helps in case we want to reproduce the toolchain with the exact same version of crosstool-NG. This also reverts #bb73e7632b54. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* configure: add possibility to set arbitrary variable in check_forYann E. MORIN"2011-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | If check_for is able to find the required prog/inc/lib, allow it to set an arbitrary variable to 'y'. This variable is then pushed down to the kconfig definition. For example: has_or_abort prog=foobar kconfig=has_foobar If foobar is available, it yields a kconfig variable defaulting to y: config CONFIGURE_has_foobar bool default y If foobar is missing, it yields a kconfig variable defaulting to n: config CONFIGURE_has_foobar bool Thus it is possible to depends on that variabel to show/hide options: config SOME_FEATURE bool prompt "Some feature" depends on CONFIGURE_has_foobar Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* config: add main menu titleYann E. MORIN"2011-05-101-0/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* test-suite: Added new test suite feature (experimental)Martin Lund2010-05-191-0/+1
| | | | | | | | | | | | | | This patch adds support for installing the gcc test suite. A helper Makefile is provided for building and running the gcc tests. The default configuration runs all gcc tests and requires automatic ssh/scp login access to a networked target board. See README for more details. Note: Current feature is tested with the powerpc-unknown-linux-gnu sample but it should work with others as well. Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
* config: do not force setting kernel and archYann E. MORIN"2010-04-011-2/+0
| | | | | In backend mode, only enforce the arch and/or kernel selection if the upper-layer build system effectively forces the selection.
* config: fix style issues when source-ing filesYann E. MORIN"2010-03-291-11/+11
| | | | | Always enclose the sourced file between double-quotes (purely for consistency; enclosing or not are both allowed by the kconfig language).
* config: move backend-related options to their own fileYann E. MORIN"2010-03-291-0/+3
|
* tools: move sstrip to the binary utilities menuYann E. MORIN"2010-03-171-1/+0
| | | | | | sstrip is now alone in its 'tools' menu, and we will probably never gain any other 'tool'. Besides, sstrip is just strip, but a little bit more agressive, so it deserves going to the 'binary utilities' menu.
* companion_tools/autoconf: add autoconf toolYann E. MORIN"2010-01-121-0/+1
| | | | | | | | | Initial version of adding autoconf as a companion tool. Signed-off-by: Richard Strand <richard.strand@icomera.com> [yann.morin.1998@anciens.enib.fr: use generic overide tools dir] [yann.morin.1998@anciens.enib.fr: update menu entries] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* config: swap the debug and tools sub-menusYann E. MORIN"2009-08-301-1/+1
| | | | | | ltrace, in the debug sub-menu, selects libelf, in the tools sub-menu. Inverse the order of the two sub-menus, so that the user does not have to go back and forth between the two sub-menus.
* config: move down companion libraries sub-menuYann E. MORIN"2009-08-301-1/+1
| | | | | | | Move the companion libraries sub-menu down the main menu. That way, the user does not need to go back and forth in the menu to change options set by the different components that select the companion libraries (binutils, gcc, gdb).
* Merge the uClinux/noMMU stuff back to /trunk:Yann E. MORIN"2009-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - merge Linux and uClinux back to a single kernel - add ARCH_USE_MMU and acquainted config options that architectures can auto-select - make binutils and elf2flt two "Binary utilities" that go in a single common sub-{menu,directory} structure -------- diffstat follows -------- /trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 - /trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++ /trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ---------------------------- /trunk/scripts/build/binutils.sh | 232 0 232 0 -------------------------------- /trunk/scripts/build/elf2flt.sh | 150 0 150 0 --------------------- /trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 + /trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++ /trunk/config/kernel/linux.in-common | 252 0 252 0 ----------------------------------- /trunk/config/kernel/uclinux.in | 21 0 21 0 --- /trunk/config/target.in | 23 22 1 0 +++ /trunk/config/elf2flt.in | 49 0 49 0 ------- /trunk/config/libc/glibc.in | 2 1 1 0 /trunk/config/libc/eglibc.in | 2 1 1 0 /trunk/config/config.in | 1 0 1 0 - /trunk/config/arch/sh.in | 1 1 0 0 + /trunk/config/arch/arm.in | 2 1 1 0 /trunk/config/arch/powerpc.in | 1 1 0 0 + /trunk/config/arch/ia64.in | 1 1 0 0 + /trunk/config/arch/alpha.in | 1 1 0 0 + /trunk/config/arch/x86.in | 1 1 0 0 + /trunk/config/arch/mips.in | 1 1 0 0 + /trunk/config/arch/powerpc64.in | 1 1 0 0 + 22 files changed, 489 insertions(+), 913 deletions(-)
* Merge the /deve/uclinux branch back to /trunk:Yann E. MORIN"2009-05-131-0/+1
| | | | | | | | | | | | | | | - add support for uClinux, the MMU-less ports of Linux. -------- diffstat follows -------- /trunk/scripts/build/kernel/linux.sh | 100 1 99 0 --------------- /trunk/steps.mk | 1 1 0 0 + /trunk/config/kernel/linux.in | 247 0 247 0 ------------------------------------- /trunk/config/kernel.in | 2 1 1 0 /trunk/config/libc/glibc.in | 2 1 1 0 /trunk/config/libc/eglibc.in | 2 1 1 0 /trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 + /trunk/config/config.in | 1 1 0 0 + 8 files changed, 11 insertions(+), 349 deletions(-)
* Prepare for gcc-4.4:Yann E. MORIN"2009-05-031-1/+1
| | | | | | | | | | | | | | | | | - add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+ - move GMP & MPFR to 'companion_libs/' -------- diffstat follows -------- /trunk/scripts/build/gmp.sh | 85 0 85 0 ---------------------------- /trunk/scripts/build/mpfr.sh | 139 0 139 0 --------------------------------------------- /trunk/scripts/addToolVersion.sh | 4 2 2 0 /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 /trunk/config/companion_libs.in | 17 10 7 0 +++--- /trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ---------- /trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 -------------- /trunk/config/config.in | 2 1 1 0 /trunk/config/gmp_mpfr.in | 35 0 35 0 ----------- 9 files changed, 15 insertions(+), 345 deletions(-)
* Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"2008-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym - each build script no longer has to say wether they are enabled - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code Some re-ordering of the code to be consistent with the steps ordering (tools, then debug). /trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++------------- /trunk/scripts/build/debug.sh | 14 9 5 0 +++++--- /trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 -- /trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 - /trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 -- /trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 -- /trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 -- /trunk/scripts/build/tools.sh | 14 9 5 0 +++++--- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/config/debug/ltrace.in | 14 3 11 0 ++------ /trunk/config/debug/dmalloc.in | 9 1 8 0 +---- /trunk/config/debug/gdb.in | 9 1 8 0 +---- /trunk/config/debug/strace.in | 10 1 9 0 ----- /trunk/config/debug/duma.in | 10 1 9 0 ----- /trunk/config/tools/libelf.in | 12 2 10 0 +------ /trunk/config/tools/sstrip.in | 10 1 9 0 ----- /trunk/config/config.in | 4 2 2 0 +- 21 files changed, 74 insertions(+), 134 deletions(-)
* GMP and MPFR are no longer a sub-component of gcc (config-wise).Yann E. MORIN"2008-06-201-0/+1
| | | | | | | | | | | | | | | | | Build and install GMP and MPFR for the target. Use the target GMP and MPFR to build the native gdb. Have separate extra_config for cross gdb, native gdb and gdbserver. Check native GMP and MPFR in //. /trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++------- /trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++------- /trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++-------- /trunk/steps.mk | 2 2 0 0 ++ /trunk/config/cc/gcc.in | 18 1 17 0 +-------------- /trunk/config/debug/gdb.in | 6 1 5 0 +---- /trunk/config/config.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++ 8 files changed, 137 insertions(+), 47 deletions(-)
* Merge the build system to trunk: ct-ng is now installable:Yann E. MORIN"2007-07-011-2/+2
| | | | | | | | - ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>
* Introduce the notion of tols facilities (none so far, sstrip coming right ↵Yann E. MORIN"2007-06-011-0/+1
| | | | away...).
* Debug facilities:Yann E. MORIN"2007-05-171-0/+1
| | | | | | | | | | | | | | | | | | | - add a framework to easily add new ones - add gdb as a first debug facility - add patches for gdb After the kernel checked its installed headers, clean up the mess of .checked.* files. Reorder scripts/crosstool.sh: - dump the configuration early - renice early - get info about build system early, when setting up the environment - when in cross or native, the host tools are those of the build system, and only in this case - elapsed time calculations moved to scripts/functions Remove handling of the color: it's gone once and for all. Update tools/addToolVersion.sh: - handle debug facilities - commonalise some code - remove dead tools (cygwin, tcc) Point to my address for bug reports.
* Add the EXPERIMENTAL option to show options marked as such.Yann E. MORIN"2007-04-171-0/+1
| | | | | Add the four types of toolchains ct-ng is able to build as EXPERIMENTAL, except for CROSS which *is* functional. Reorder menus accordingly.
* Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"2007-02-241-0/+6
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(