kumquat-buildroot/package/firmware-utils/Config.in
Fabrice Fontaine eeb5cc0eeb package/firmware-utils: needs dynamic library
As usual with cmake packages, static builds are not supported and result
in the following build failure:

/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o): in function `zlib_stateful_expand_block':
c_zlib.c:(.text+0x54): undefined reference to `inflate'

Instead of patching CMakeLists.txt to add a call to pkg-config, add a
dependency on dynamic library

Fixes:
 - http://autobuild.buildroot.org/results/16a89075e6a809a551e7155a64a4e6b6701428e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-13 18:04:03 +01:00

21 lines
793 B
Plaintext

config BR2_PACKAGE_FIRMWARE_UTILS
bool "firmware-utils"
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_ZLIB
help
Firmware utils are tools that can be used for managing
platform / device / vendor specific firmware images. Depending
on a specific tool it may be possible to read information,
extract data, modify or build an image from a scratch.
A common target usage of firmware utils is to upgrade kernel
and / or rootfs. Depending on device it may be required to
extract a part of firmware image and flash it.
https://git.openwrt.org/?p=project/firmware-utils.git;a=summary
comment "firmware-utils needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS