diff options
author | Petri Gynther <pgynther@google.com> | 2016-08-08 11:34:59 -0700 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-10-25 23:31:47 +0200 |
commit | 8218ab8019bbab0538b484c663df4469e44fecf1 (patch) | |
tree | bb40a06287c8b9be914961140fe6d3b2d3b9d53d /toolchain | |
parent | 6874d691cea4a37f1cfcec0e7cf124f283fc30ef (diff) | |
download | buildroot-8218ab8019bbab0538b484c663df4469e44fecf1.tar.gz buildroot-8218ab8019bbab0538b484c663df4469e44fecf1.zip |
toolchain: configs: improve toolchain config readability
Add (or move) comment lines in toolchain-related Config.in files
to improve readability of the toolchain config section.
Source linux-headers/Config.in.host after toolchain-buildroot items.
For toolchain-buildroot case, the config file now looks like this:
*
* Toolchain
*
*
* Toolchain Buildroot Options
*
*
* Kernel Header Options
*
*
* uClibc Options
*
*
* Binutils Options
*
*
* GCC Options
*
*
* Host GDB Options
*
*
* Toolchain Generic Options
*
Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/toolchain-buildroot/Config.in | 5 | ||||
-rw-r--r-- | toolchain/toolchain-common.in | 2 | ||||
-rw-r--r-- | toolchain/toolchain-external/Config.in | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index c89e181611..c8436cc3be 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -2,6 +2,8 @@ if BR2_TOOLCHAIN_BUILDROOT +comment "Toolchain Buildroot Options" + config BR2_TOOLCHAIN_BUILDROOT_VENDOR string "custom toolchain vendor name" default "buildroot" @@ -18,8 +20,6 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR If you're not sure, just leave the default "buildroot" value. -source "package/linux-headers/Config.in.host" - choice prompt "C library" default BR2_TOOLCHAIN_UCLIBC @@ -89,6 +89,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LIBC default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL +source "package/linux-headers/Config.in.host" source "package/linux-headers/Config.in" source "package/musl/Config.in" source "package/uclibc/Config.in" diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index b682e4d701..bf9dc7b93f 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -5,6 +5,8 @@ # so put it here instead source "package/gdb/Config.in.host" +comment "Toolchain Generic Options" + # https://sourceware.org/bugzilla/show_bug.cgi?id=19405 config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 bool diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in index cdf01c9aa5..5324599bf7 100644 --- a/toolchain/toolchain-external/Config.in +++ b/toolchain/toolchain-external/Config.in @@ -1,5 +1,7 @@ if BR2_TOOLCHAIN_EXTERNAL +comment "Toolchain External Options" + choice prompt "Toolchain" |