diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.in | 1 | ||||
-rw-r--r-- | config/debug.in | 7 | ||||
-rw-r--r-- | config/debug/gdb.in | 75 | ||||
-rw-r--r-- | config/global.in | 12 | ||||
-rw-r--r-- | config/toolchain.in | 7 |
5 files changed, 90 insertions, 12 deletions
diff --git a/config/config.in b/config/config.in index c858b3b..a467af5 100644 --- a/config/config.in +++ b/config/config.in @@ -5,3 +5,4 @@ source config/kernel.in source config/binutils.in source config/cc.in source config/libc.in +source config/debug.in diff --git a/config/debug.in b/config/debug.in new file mode 100644 index 0000000..6b82a8b --- /dev/null +++ b/config/debug.in @@ -0,0 +1,7 @@ +# Debug facilities menu + +menu "Debug facilities" + +source config/debug/gdb.in + +endmenu diff --git a/config/debug/gdb.in b/config/debug/gdb.in new file mode 100644 index 0000000..2fd499d --- /dev/null +++ b/config/debug/gdb.in @@ -0,0 +1,75 @@ +# GDB menu + +menuconfig GDB + bool + prompt "gdb" + default n + depends on EXPERIMENTAL + help + Enable gdb for the target + +if GDB + +config GDB_CROSS + bool + prompt "Cross-gdb" + default y + help + Build and install a cross-gdb for the target, and to run on host. + +config GDB_NATIVE + bool + prompt "Native gdb" + default n + help + Build and install a native gdb for the target, to run on the target. + +choice + bool + prompt "gdb version" + +config GDB_V_snapshot + bool + prompt "snapshot" + depends on EXPERIMENTAL + +config GDB_V_6_2_1 + bool + prompt "6.2.1" + depends on OBSOLETE + +config GDB_V_6_3 + bool + prompt "6.3" + depends on OBSOLETE + +config GDB_V_6_4 + bool + prompt "6.4" + depends on OBSOLETE + +config GDB_V_6_5 + bool + prompt "6.5" + +config GDB_V_6_6 + bool + prompt "6.6" + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config GDB_VERSION + string + default "snapshot" if GDB_V_snapshot + default "6.2.1" if GDB_V_6_2_1 + default "6.3" if GDB_V_6_3 + default "6.4" if GDB_V_6_4 + default "6.5" if GDB_V_6_5 + default "6.6" if GDB_V_6_6 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +endif + diff --git a/config/global.in b/config/global.in index bfe3863..fda034d 100644 --- a/config/global.in +++ b/config/global.in @@ -262,18 +262,6 @@ config LOG_PROGRESS_BAR WARNING! Very CPU intensive! If you have spare CPU, then you can use it, otherwise, refrain from using it. -config LOG_USE_COLORS - bool - prompt "Use colors for logging to console" - default n - help - Use colors to highlight important messages. - ERROR: bright red - WARN : bright yellow - INFO : bright green - EXTRA: dim green - DEBUG: dim white - config LOG_TO_FILE bool prompt "Log to a file" diff --git a/config/toolchain.in b/config/toolchain.in index a17d151..9c178c6 100644 --- a/config/toolchain.in +++ b/config/toolchain.in @@ -109,6 +109,13 @@ config CANADIAN endchoice +config TOOLCHAIN_TYPE + string + default "native" if NATIVE + default "cross" if CROSS + default "cross-native" if CROSS_NATIVE + default "canadian" if CANADIAN + config BUILD string prompt "Build system triplet" |