# HG changeset patch # User "Yann E. MORIN" # Date 1221471815 0 # Node ID f347a40db591ec0f92295ed3879f0a289a69a2b5 # Parent 4309b90b030cb24fa5cf9aed41372b81e5a8d1cd Make bare-metal a kernel selection. /trunk/config/kernel.in | 22 14 8 0 ++++++++++++++-------- /trunk/config/target.in | 13 0 13 0 ------------- 2 files changed, 14 insertions(+), 21 deletions(-) diff -r 4309b90b030c -r f347a40db591 config/kernel.in --- a/config/kernel.in Sun Sep 14 18:20:03 2008 +0000 +++ b/config/kernel.in Mon Sep 15 09:43:35 2008 +0000 @@ -1,15 +1,11 @@ # Kernel options - - config KERNEL string default "none" if BARE_METAL default "linux" if KERNEL_LINUX -if ! BARE_METAL - -menu "Kernel" +menu "Target OS" choice bool @@ -18,10 +14,22 @@ config KERNEL_LINUX bool - prompt "linux" + prompt "Linux" help Build a toolchain targeting systems running Linux as a kernel. +config BARE_METAL + bool + prompt "Bare metal (EXPERIMENTAL)" + depends on EXPERIMENTAL + help + Say 'y' here if you want a simple C compiler with no C library. + + 'Bare metal' also refer to those programs that run without any kernel. + + You probably want to say 'y' here if you plan to use your compiler + to build only kernels or bootloaders + endchoice config KERNEL_VERSION @@ -32,5 +40,3 @@ endif endmenu - -endif # ! BARE_METAL diff -r 4309b90b030c -r f347a40db591 config/target.in --- a/config/target.in Sun Sep 14 18:20:03 2008 +0000 +++ b/config/target.in Mon Sep 15 09:43:35 2008 +0000 @@ -28,19 +28,6 @@ comment "General target options" -config BARE_METAL - bool - prompt "Bare metal (EXPERIMENTAL)" - default n - depends on EXPERIMENTAL - help - Say 'y' here if you want a simple C compiler with no C library. - - You probably want to say 'y' here if you plan to use your compiler - to build only kernels or bootloaders - - 'Bare metal' also refer to those programs that run without any kernel. - choice bool prompt "Target architecture:"