mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] tf-a: Select openssl in host package
@ 2022-07-13  6:49 Uwe Kleine-König
  2022-07-13  8:32 ` Uwe Kleine-König
  2022-08-04 15:14 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2022-07-13  6:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

tf-a needs openssl, otherwise:

	  HOSTCC  tbbr_config.c
	In file included from fiptool.h:16,
			 from fiptool.c:19:
	fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
	   19 | # include <openssl/sha.h>
	      |           ^~~~~~~~~~~~~~~
	compilation terminated.

(This only happens if the openssl development package isn't installed on
the host.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 platforms/host-tf-a.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/host-tf-a.in b/platforms/host-tf-a.in
index 1a299f042724..f8fd15c48937 100644
--- a/platforms/host-tf-a.in
+++ b/platforms/host-tf-a.in
@@ -3,5 +3,6 @@
 config HOST_TF_A
 	tristate
 	default y if ALLYES && TF_A
+	select HOST_OPENSSL
 	help
 	  This provides fiptool

base-commit: 02f8e5e7cb2ae088b69bfd2d75ba9e702eeaac5f
-- 
2.36.1




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

* Re: [ptxdist] [PATCH] tf-a: Select openssl in host package
  2022-07-13  6:49 [ptxdist] [PATCH] tf-a: Select openssl in host package Uwe Kleine-König
@ 2022-07-13  8:32 ` Uwe Kleine-König
  2022-08-04 15:14 ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2022-07-13  8:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

On Wed, Jul 13, 2022 at 08:49:53AM +0200, Uwe Kleine-König wrote:
> tf-a needs openssl, otherwise:
> 
> 	  HOSTCC  tbbr_config.c
> 	In file included from fiptool.h:16,
> 			 from fiptool.c:19:
> 	fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
> 	   19 | # include <openssl/sha.h>
> 	      |           ^~~~~~~~~~~~~~~
> 	compilation terminated.
> 
> (This only happens if the openssl development package isn't installed on
> the host.

Missing ), assuming you apply, can you fix that up please?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [ptxdist] [APPLIED] tf-a: Select openssl in host package
  2022-07-13  6:49 [ptxdist] [PATCH] tf-a: Select openssl in host package Uwe Kleine-König
  2022-07-13  8:32 ` Uwe Kleine-König
@ 2022-08-04 15:14 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2022-08-04 15:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Uwe Kleine-König

Thanks, applied as a4b3b2b0a8d86e75fe9fa714418b211ea8afd415.

Michael

[sent from post-receive hook]

On Thu, 04 Aug 2022 17:14:01 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> tf-a needs openssl, otherwise:
> 
> 	  HOSTCC  tbbr_config.c
> 	In file included from fiptool.h:16,
> 			 from fiptool.c:19:
> 	fiptool_platform.h:19:11: fatal error: openssl/sha.h: No such file or directory
> 	   19 | # include <openssl/sha.h>
> 	      |           ^~~~~~~~~~~~~~~
> 	compilation terminated.
> 
> (This only happens if the openssl development package isn't installed on
> the host.)
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20220713064953.65572-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/host-tf-a.in b/platforms/host-tf-a.in
> index 1a299f042724..f8fd15c48937 100644
> --- a/platforms/host-tf-a.in
> +++ b/platforms/host-tf-a.in
> @@ -3,5 +3,6 @@
>  config HOST_TF_A
>  	tristate
>  	default y if ALLYES && TF_A
> +	select HOST_OPENSSL
>  	help
>  	  This provides fiptool



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

end of thread, other threads:[~2022-08-04 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13  6:49 [ptxdist] [PATCH] tf-a: Select openssl in host package Uwe Kleine-König
2022-07-13  8:32 ` Uwe Kleine-König
2022-08-04 15:14 ` [ptxdist] [APPLIED] " Michael Olbrich

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