aboutsummaryrefslogtreecommitdiff
path: root/config/kernel.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 16:54:30 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-30 16:54:30 +0200
commit4fa6f04c32fff2b1b4c42444875d21cda1e59a40 (patch)
tree9963a2a1c30e7379109872bb738a5b51d6033a11 /config/kernel.in
parentcf053f4c0551e6d7e07b5517bc9f9aecc6d649e3 (diff)
downloadcrosstool-ng-4fa6f04c32fff2b1b4c42444875d21cda1e59a40.tar.gz
crosstool-ng-4fa6f04c32fff2b1b4c42444875d21cda1e59a40.tar.bz2
crosstool-ng-4fa6f04c32fff2b1b4c42444875d21cda1e59a40.zip
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/kernel.in')
-rw-r--r--config/kernel.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/kernel.in b/config/kernel.in
index d3ae6dc7..bbaec77a 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