Skip to contentSkip to conversation

canfestival: disable static build

PATCH New Baruch Siach 2 participants 2 messages Nov 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 canfestival: disable static build

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/

---
 package/canfestival/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/canfestival/Config.in +3 -2
index dd0db3efd54d..d2bfaca3cea2 100644
@@ -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
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 canfestival: disable static build

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

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.

Quoted 5 lines

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard