- add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer to build static or dynamic libs/bins.

- depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target.
Thanks to Tom for suplying a diff which implements these.
This commit is contained in:
Bernhard Reutner-Fischer
2007-06-01 22:16:28 +00:00
parent 961229caf5
commit 3096f34d27
4 changed files with 56 additions and 3 deletions

View File

@@ -373,6 +373,19 @@ config BR2_DEPRECATED
help
This option hides outdated/obsolete versions of packages.
config BR2_PREFER_STATIC_LIB
bool "prefer static libraries"
default n
help
Where possible, use static libraries.
This increases your code size a lot and should only be
used with a good reason why not use the default, which
is dynamic libraries.
If unsure, say No.
WARNING: This is highly experimental at the moment.
endmenu
source "toolchain/Config.in"