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.
This commit is contained in:
Yann E. MORIN" 2009-08-30 16:54:30 +02:00
parent cf053f4c05
commit 4fa6f04c32
2 changed files with 13 additions and 11 deletions

View File

@ -23,4 +23,17 @@ config KERNEL_VERSION
source config.gen/kernel.in source config.gen/kernel.in
comment "Common kernel options"
config SHARED_LIBS
bool
prompt "Build shared libraries"
depends on KERNEL_SUPPORTS_SHARED_LIBS
default y
help
Say 'y' here, unless you don't want shared libraries.
You might not want shared libraries if you're building for a target that
don't support it (maybe some nommu targets, for example, or bare metal).
endmenu endmenu

View File

@ -28,17 +28,6 @@ config SYSROOT_DIR_PREFIX
In fact, the sysroot path is constructed as: In fact, the sysroot path is constructed as:
${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/sys-root ${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/sys-root
config SHARED_LIBS
bool
prompt "Build shared libraries"
depends on KERNEL_SUPPORTS_SHARED_LIBS
default y
help
Say 'y' here, unless you don't want shared libraries.
You might not want shared libraries if you're building for a target that
don't support it (maybe some nommu targets, for example, or bare metal).
comment "Tuple completion and aliasing" comment "Tuple completion and aliasing"
config TARGET_VENDOR config TARGET_VENDOR