config: move the "build shared libraries" option to the OS menu
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 30 16:54:30 2009 +0200 (2009-08-30)
changeset 1502472cfde636a1
parent 1501 3bf289921a80
child 1505 2109143a4b2f
config: move the "build shared libraries" option to the OS menu

The "Build shared libraries" config option is dependant on the type of
"Target OS".

Moving this options to the "Target OS" sub-menu is also better in the user
perspective: he/she no longer needs to go back and forth to see if he/she
missed any option.
config/kernel.in
config/toolchain.in
     1.1 --- a/config/kernel.in	Sun Aug 30 16:50:30 2009 +0200
     1.2 +++ b/config/kernel.in	Sun Aug 30 16:54:30 2009 +0200
     1.3 @@ -23,4 +23,17 @@
     1.4  
     1.5  source config.gen/kernel.in
     1.6  
     1.7 +comment "Common kernel options"
     1.8 +
     1.9 +config SHARED_LIBS
    1.10 +    bool
    1.11 +    prompt "Build shared libraries"
    1.12 +    depends on KERNEL_SUPPORTS_SHARED_LIBS
    1.13 +    default y
    1.14 +    help
    1.15 +      Say 'y' here, unless you don't want shared libraries.
    1.16 +      
    1.17 +      You might not want shared libraries if you're building for a target that
    1.18 +      don't support it (maybe some nommu targets, for example, or bare metal).
    1.19 +
    1.20  endmenu
     2.1 --- a/config/toolchain.in	Sun Aug 30 16:50:30 2009 +0200
     2.2 +++ b/config/toolchain.in	Sun Aug 30 16:54:30 2009 +0200
     2.3 @@ -28,17 +28,6 @@
     2.4        In fact, the sysroot path is constructed as:
     2.5          ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/sys-root
     2.6  
     2.7 -config SHARED_LIBS
     2.8 -    bool
     2.9 -    prompt "Build shared libraries"
    2.10 -    depends on KERNEL_SUPPORTS_SHARED_LIBS
    2.11 -    default y
    2.12 -    help
    2.13 -      Say 'y' here, unless you don't want shared libraries.
    2.14 -      
    2.15 -      You might not want shared libraries if you're building for a target that
    2.16 -      don't support it (maybe some nommu targets, for example, or bare metal).
    2.17 -
    2.18  comment "Tuple completion and aliasing"
    2.19  
    2.20  config TARGET_VENDOR