summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-07 10:20:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-07 22:58:26 +0200
commit95682636b801fa9d3e6a2d282e247a498341fb47 (patch)
tree958c0da01b3e694f9b3acddae87d3369e13d12d6
parent0d8158fc619ce849b531d07b27da4ba9748d4ea4 (diff)
libcofi: disable for static-only builds
The libcofi package unconditionally builds a shared library, so we need to make it unavailable on BR2_STATIC_LIBS=y configurations. Fixes: http://autobuild.buildroot.net/results/329c09bf123cd5b6dbcfff6251ba7a2c7cce50b8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libcofi/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libcofi/Config.in b/package/libcofi/Config.in
index e9914d6e0..df9ab71b9 100644
--- a/package/libcofi/Config.in
+++ b/package/libcofi/Config.in
@@ -1,8 +1,14 @@
config BR2_PACKAGE_LIBCOFI
bool "libcofi"
depends on BR2_arm
+ # builds a shared library
+ depends on !BR2_STATIC_LIBS
help
A replacement for memcpy and memset functionality for the
Raspberry Pi with the intention of gaining greater performance.
https://github.com/simonjhall/copies-and-fills
+
+comment "libcofi needs a toolchain w/ dynamic library"
+ depends on BR2_arm
+ depends on BR2_STATIC_LIBS