uboot-tools: fix static linking with OpenSSL
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 12 May 2015 21:02:13 +0000 (23:02 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 May 2015 08:02:14 +0000 (10:02 +0200)
commit95f9a5c3df8e4226b99438efccf0bf21eecb573d
treef73b3285e8d3b2c0ab96e764f9810f493d29ac8d
parentdaa8485bc12d44c6bf697f7a1bde488250486ea2
uboot-tools: fix static linking with OpenSSL

Add a patch to U-Boot to use pkg-config to get the OpenSSL link flags
when pkg-config is available. This allows to make sure that static
linking works properly. The patch requires adding $(TARGET_MAKE_ENV)
so that the Buildroot provided pkg-config is used instead of the host
one.

The U-Boot patch has been submitted upstream.

Fixes:

  http://autobuild.buildroot.org/results/a9f/a9f316cd076a74b8730ce4cdcdb8176da4ed9eb3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uboot-tools/0004-tools-use-pkg-config-when-available-to-get-SSL-flags.patch [new file with mode: 0644]
package/uboot-tools/uboot-tools.mk