[Buildroot] First Step in allowing Static / shared library choice
danieljlaird at hotmail.com
Thu Feb 8 15:18:08 UTC 2007
Following on from my question of 'how do we deal with shared and static
I enclose the following patch.
This is for the top level Config.in
It will appear under Build options
this means that the variables BR2_STATIC_LIBS and BR2_SHARED_LIBS are
Once this patch is in we can start to modify packages to use this
information. (no packages modified yet)
I hope this can get into the mainline without to much difficulty
--- Config.in.orig 2007-02-08 15:08:18.000000000 +0000
+++ Config.in 2007-02-08 15:11:24.000000000 +0000
@@ -361,6 +361,20 @@
WARNING: This is highly experimental at the moment.
+ bool "Build static libs for target"
+ default n
+ This option when selected will try and build packages with static
+ This will increase code size and is not recommended for embedded
+ bool "Build shared libs for target"
+ default y
+ This option when selected will try and build packages as shared
+ This will increase loading time but minimise size.
View this message in context: http://www.nabble.com/First-Step-in-allowing-Static---shared-library-choice-tf3193891.html#a8867285
Sent from the BuildRoot mailing list archive at Nabble.com.
More information about the buildroot