mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
Since the generic package infrastructure removed auto derivation of host dependencies [1] (2016.08), the host dependencies must be explicitly set. While adding the nettle host variant [2] the gmp dependency was not duplicated and host-nettle was built without host-gmp (or built with gmp installed on the build machine). While building host-gnutls required for building mkeficapsule u-boot tool, the configure script check if Libhogweed (nettle's companion library) is build with libgmp support. If internal toolchain is used, luckily host-gmp is built before building host-nettle (and host-gnutls). But when using prebuilt external toolchain, following error shows up : Libhogweed (nettle's companion library) 3.6 was not found. Note that you must compile nettle with gmp support. [1]4bdb067e38[2]dac6e30118[3]eb24bfa808Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr> Reviewed-by: Romain Naour <romain.naour@smile.fr> Acked-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>