canfestival: disable static build
authorBaruch Siach <baruch@tkos.co.il>
Thu, 20 Nov 2014 13:21:16 +0000 (15:21 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 20 Nov 2014 15:03:23 +0000 (16:03 +0100)
canfestival doesn't really support static build. The configure script accepts
the --disable-dll parameter that should in theory allow a static build. In
practice this options is not well tested, as it causes the build to fails in
various places.

Fixes:
http://autobuild.buildroot.net/results/29f/29fd3e550937f48e2270149a3d44cfb8bcf5c16a/

Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/canfestival/Config.in

index dd0db3efd54dd881cfedc0fc9dca90437ed1b5bf..d2bfaca3cea2601e96e547cb6e1a5fcbcf01d280 100644 (file)
@@ -2,14 +2,15 @@ config BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
        bool
        default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm
 
-comment "canfestival needs a toolchain w/ threads"
+comment "canfestival needs a toolchain w/ threads and dynamic library"
        depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
 
 config BR2_PACKAGE_CANFESTIVAL
        bool "canfestival"
        depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_PREFER_STATIC_LIB
        help
          CanFestival is an OpenSource CANOpen framework, licensed under
          LGPLv2.1 and GPLv2 for some drivers (virtual_kernel, lincan and