diff options
Diffstat (limited to 'config/kernel.in')
-rw-r--r-- | config/kernel.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/kernel.in b/config/kernel.in index 9c701e1..bbaec77 100644 --- a/config/kernel.in +++ b/config/kernel.in @@ -8,6 +8,13 @@ config BARE_METAL bool default n +# Each target OS (aka kernel) that support shared libraries can select +# this, so the user can decide whether or not to build a shared library +# enabled toolchain +config KERNEL_SUPPORTS_SHARED_LIBS + bool + default n + config KERNEL string @@ -16,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 |