libcofi: disable for static-only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Aug 2016 08:20:03 +0000 (10:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Aug 2016 20:58:26 +0000 (22:58 +0200)
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>
package/libcofi/Config.in

index e9914d6e0ff517c95303af62bd35ad9c6108367f..df9ab71b936f024f95d2774df81081dd27e80674 100644 (file)
@@ -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