summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 14:54:30 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 14:54:30 (GMT)
commit4fa6f04c32fff2b1b4c42444875d21cda1e59a40 (patch)
tree9963a2a1c30e7379109872bb738a5b51d6033a11 /config
parentcf053f4c0551e6d7e07b5517bc9f9aecc6d649e3 (diff)
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.
Diffstat (limited to 'config')
-rw-r--r--config/kernel.in13
-rw-r--r--config/toolchain.in11
2 files changed, 13 insertions, 11 deletions
diff --git a/config/kernel.in b/config/kernel.in
index d3ae6dc..bbaec77 100644
--- a/config/kernel.in
+++ b/config/kernel.in
@@ -23,4 +23,17 @@ config KERNEL_VERSION
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
diff --git a/config/toolchain.in b/config/toolchain.in
index 9c457f2..9372dc4 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -28,17 +28,6 @@ config SYSROOT_DIR_PREFIX
In fact, the sysroot path is constructed as:
${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"
config TARGET_VENDOR