boost.mk: allow building both static and shared
authorJonathan Ben Avraham <yba@tkos.co.il>
Sun, 25 Oct 2015 09:52:53 +0000 (11:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 26 Oct 2015 06:28:09 +0000 (07:28 +0100)
commit239f54c2feb06b7c0807135d1f27715ccb0a9d34
tree4cd0787f12ddd27df48230c5508d01518e472675
parentb7d06152d105756869ad3ec6326ed471838ac85a
boost.mk: allow building both static and shared

Use BR2_SHARED_STATIC_LIBS for building both static and shared boost libs.
The static libs are copied to the staging directory. Only the shared libs are
copied to the rootfs image.

[Thomas:
 - remove empty else clause, and instead add a comment that explains
   why we're doing something only for the BR2_STATIC_LIBS=y and
   BR2_SHARED_LIBS=y.
 - remove trailing backslash at the end of the BOOST_CONF_OPTS
   definition.]

Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/boost.mk