public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] tools/Makefile: get openssl CFLAGS from pkg-config
@ 2019-04-10 22:58 Pierre Bourdon
  2019-04-27 14:45 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre Bourdon @ 2019-04-10 22:58 UTC (permalink / raw)
  To: u-boot

Fixes building mkimage on systems where OpenSSL header files do not
live in the standard include path.

Signed-off-by: Pierre Bourdon <delroth@gmail.com>
---
 tools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/Makefile b/tools/Makefile
index d377d85f74..12a3027e23 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -150,6 +150,8 @@ endif
 
 # MXSImage needs LibSSL
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),)
+HOSTCFLAGS_kwbimage.o += \
+	$(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "")
 HOSTLOADLIBES_mkimage += \
 	$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
 
-- 
2.19.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] tools/Makefile: get openssl CFLAGS from pkg-config
  2019-04-10 22:58 [U-Boot] [PATCH] tools/Makefile: get openssl CFLAGS from pkg-config Pierre Bourdon
@ 2019-04-27 14:45 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2019-04-27 14:45 UTC (permalink / raw)
  To: u-boot

On Thu, Apr 11, 2019 at 12:58:49AM +0200, Pierre Bourdon wrote:

> Fixes building mkimage on systems where OpenSSL header files do not
> live in the standard include path.
> 
> Signed-off-by: Pierre Bourdon <delroth@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190427/300c2554/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-27 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-10 22:58 [U-Boot] [PATCH] tools/Makefile: get openssl CFLAGS from pkg-config Pierre Bourdon
2019-04-27 14:45 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox