mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
6874d691ce
commit
8218ab8019
@ -1,3 +1,5 @@
|
|||||||
|
comment "Host GDB Options"
|
||||||
|
|
||||||
config BR2_PACKAGE_HOST_GDB
|
config BR2_PACKAGE_HOST_GDB
|
||||||
bool "Build cross gdb for the host"
|
bool "Build cross gdb for the host"
|
||||||
# When the external toolchain gdbserver is used, we shouldn't
|
# When the external toolchain gdbserver is used, we shouldn't
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
comment "Kernel Header Options"
|
||||||
|
|
||||||
config BR2_PACKAGE_HOST_LINUX_HEADERS
|
config BR2_PACKAGE_HOST_LINUX_HEADERS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
comment "Kernel Header Options"
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Kernel Headers"
|
prompt "Kernel Headers"
|
||||||
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
|
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
|
if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
|
||||||
|
|
||||||
|
comment "uClibc Options"
|
||||||
|
|
||||||
config BR2_PACKAGE_UCLIBC
|
config BR2_PACKAGE_UCLIBC
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
select BR2_PACKAGE_LINUX_HEADERS
|
select BR2_PACKAGE_LINUX_HEADERS
|
||||||
|
|
||||||
comment "uClibc Options"
|
|
||||||
|
|
||||||
config BR2_UCLIBC_CONFIG
|
config BR2_UCLIBC_CONFIG
|
||||||
string "uClibc configuration file to use?"
|
string "uClibc configuration file to use?"
|
||||||
default "package/uclibc/uClibc-ng.config"
|
default "package/uclibc/uClibc-ng.config"
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
if BR2_TOOLCHAIN_BUILDROOT
|
if BR2_TOOLCHAIN_BUILDROOT
|
||||||
|
|
||||||
|
comment "Toolchain Buildroot Options"
|
||||||
|
|
||||||
config BR2_TOOLCHAIN_BUILDROOT_VENDOR
|
config BR2_TOOLCHAIN_BUILDROOT_VENDOR
|
||||||
string "custom toolchain vendor name"
|
string "custom toolchain vendor name"
|
||||||
default "buildroot"
|
default "buildroot"
|
||||||
@ -18,8 +20,6 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR
|
|||||||
|
|
||||||
If you're not sure, just leave the default "buildroot" value.
|
If you're not sure, just leave the default "buildroot" value.
|
||||||
|
|
||||||
source "package/linux-headers/Config.in.host"
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "C library"
|
prompt "C library"
|
||||||
default BR2_TOOLCHAIN_UCLIBC
|
default BR2_TOOLCHAIN_UCLIBC
|
||||||
@ -89,6 +89,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LIBC
|
|||||||
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
default "glibc" if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
||||||
default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL
|
default "musl" if BR2_TOOLCHAIN_BUILDROOT_MUSL
|
||||||
|
|
||||||
|
source "package/linux-headers/Config.in.host"
|
||||||
source "package/linux-headers/Config.in"
|
source "package/linux-headers/Config.in"
|
||||||
source "package/musl/Config.in"
|
source "package/musl/Config.in"
|
||||||
source "package/uclibc/Config.in"
|
source "package/uclibc/Config.in"
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
# so put it here instead
|
# so put it here instead
|
||||||
source "package/gdb/Config.in.host"
|
source "package/gdb/Config.in.host"
|
||||||
|
|
||||||
|
comment "Toolchain Generic Options"
|
||||||
|
|
||||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=19405
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=19405
|
||||||
config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
|
config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
|
||||||
bool
|
bool
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
if BR2_TOOLCHAIN_EXTERNAL
|
if BR2_TOOLCHAIN_EXTERNAL
|
||||||
|
|
||||||
|
comment "Toolchain External Options"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Toolchain"
|
prompt "Toolchain"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user