Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl
@ 2024-01-10 20:51 Julien Olivain
  2024-02-05 15:29 ` Sébastien Szymanski
  2024-02-05 17:26 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2024-01-10 20:51 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.

This commit adds it to the defconfig to fix the build.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248

    In file included from tools/imagetool.h:24,
                     from tools/aisimage.c:7:
    include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
     1166 | #  include <openssl/evp.h>
          |            ^~~~~~~~~~~~~~~

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Change v1 -> v2:
- Regenerated the patch, to fix a corrupted patch context.
---
 configs/imx8mmpico_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
index c402ea675d..711cdeb390 100644
--- a/configs/imx8mmpico_defconfig
+++ b/configs/imx8mmpico_defconfig
@@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
 BR2_TARGET_UBOOT_SPL=y
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl
  2024-01-10 20:51 [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl Julien Olivain
@ 2024-02-05 15:29 ` Sébastien Szymanski
  2024-02-05 17:26 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Sébastien Szymanski @ 2024-02-05 15:29 UTC (permalink / raw)
  To: Julien Olivain, buildroot

Hi Julien, All,

On 1/10/24 21:51, Julien Olivain wrote:
> Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
> tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.
> 
> This commit adds it to the defconfig to fix the build.
> 
> Fixes:
> - https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248
> 
>      In file included from tools/imagetool.h:24,
>                       from tools/aisimage.c:7:
>      include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
>       1166 | #  include <openssl/evp.h>
>            |            ^~~~~~~~~~~~~~~
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Change v1 -> v2:
> - Regenerated the patch, to fix a corrupted patch context.
> ---
>   configs/imx8mmpico_defconfig | 1 +
>   1 file changed, 1 insertion(+)

I confirm that this patch fixes the build error mentioned:

Tested-By: Sébastien Szymanski <sebastien.szymanski@armadeus.com>

Regards,

> 
> diff --git a/configs/imx8mmpico_defconfig b/configs/imx8mmpico_defconfig
> index c402ea675d..711cdeb390 100644
> --- a/configs/imx8mmpico_defconfig
> +++ b/configs/imx8mmpico_defconfig
> @@ -28,6 +28,7 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
>   BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,TechNexion,u-boot-tn-imx,tn-kirkstone_5.15.71-2.2.0_20230512)/u-boot-tn-imx-tn-kirkstone_5.15.71-2.2.0_20230512.tar.gz"
>   BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pico-imx8mm"
>   BR2_TARGET_UBOOT_NEEDS_DTC=y
> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
>   BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
>   BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin"
>   BR2_TARGET_UBOOT_SPL=y

-- 
Sébastien Szymanski, Armadeus Systems
Software engineer

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl
  2024-01-10 20:51 [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl Julien Olivain
  2024-02-05 15:29 ` Sébastien Szymanski
@ 2024-02-05 17:26 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-02-05 17:26 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes:

 > Commit 78e8f383 "configs/imx8mmpico: bump bsp components to version
 > tn-kirkstone_5.15.71-2.2.0" bumped components, but forgot to add
 > BR2_TARGET_UBOOT_NEEDS_OPENSSL=y.

 > This commit adds it to the defconfig to fix the build.

 > Fixes:
 > - https://gitlab.com/buildroot.org/buildroot/-/jobs/5858180248

 >     In file included from tools/imagetool.h:24,
 >                      from tools/aisimage.c:7:
 >     include/image.h:1166:12: fatal error: openssl/evp.h: No such file or directory
 >      1166 | #  include <openssl/evp.h>
 >           |            ^~~~~~~~~~~~~~~

 > Signed-off-by: Julien Olivain <ju.o@free.fr>
 > ---
 > Change v1 -> v2:
 > - Regenerated the patch, to fix a corrupted patch context.

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-02-05 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 20:51 [Buildroot] [PATCH v2 1/1] configs/imx8mmpico: uboot needs openssl Julien Olivain
2024-02-05 15:29 ` Sébastien Szymanski
2024-02-05 17:26 ` Peter Korsgaard

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