Home
last modified time | relevance | path

Searched hist:"4839836 a124ea04e5867edf3db3bfb02cfa8d760" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/tools/
H A DMakefile4839836a124ea04e5867edf3db3bfb02cfa8d760 Sat May 16 16:36:15 UTC 2015 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> tools: use pkg-config when available to get SSL flags

Instead of hardcoding -lssl -lcrypto as the flags needed to build
mkimage with FIT signature enabled, use pkg-config when
available. This allows to properly support cases where static linking
is used, which requires linking with -lz, since OpenSSL uses zlib
internally.

We gracefully fallback on the previous behavior of hardcoding -lssl
-lcrypto if pkg-config is not available or fails with an error.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>