From 4fa6f04c32fff2b1b4c42444875d21cda1e59a40 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 30 Aug 2009 16:54:30 +0200 Subject: 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. 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 -- cgit v0.10.2-6-g49f6