From patchwork Sun Aug 4 16:20:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Olivain X-Patchwork-Id: 1968830 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WcPvY5MW2z1yYD for ; Mon, 5 Aug 2024 02:21:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2702F60736; Sun, 4 Aug 2024 16:21:12 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id bZEedUNUI6OX; Sun, 4 Aug 2024 16:21:11 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 32AA160739 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 32AA160739; Sun, 4 Aug 2024 16:21:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CA3711BF371 for ; Sun, 4 Aug 2024 16:21:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B6F4C40148 for ; Sun, 4 Aug 2024 16:21:09 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 6cW5jGQiUfIL for ; Sun, 4 Aug 2024 16:21:08 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a01:e0c:1:1599::10; helo=smtp1-g21.free.fr; envelope-from=ju.o@free.fr; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 9173240111 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9173240111 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [IPv6:2a01:e0c:1:1599::10]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9173240111 for ; Sun, 4 Aug 2024 16:21:08 +0000 (UTC) Received: from home.juju.sh (unknown [IPv6:2a01:e0a:485:b220:8213:2270:4a8d:a1d5]) (Authenticated sender: ju.o@free.fr) by smtp1-g21.free.fr (Postfix) with ESMTPSA id 9B8B4B005A2; Sun, 4 Aug 2024 18:21:03 +0200 (CEST) From: Julien Olivain To: buildroot@buildroot.org Date: Sun, 4 Aug 2024 18:20:57 +0200 Message-ID: <20240804162057.1321387-1-ju.o@free.fr> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1722788467; bh=shyk3fN5P0liJtoMfpqlRA9nryVvjWDftc5SAqWsmdo=; h=From:To:Cc:Subject:Date:From; b=kfti975Rqcu8Ew1xkCL4iN3sKbhGxJtKshP1+xqW3YyYhhoxbUOJxv1WDitF18tI5 fdHbWSxVHiFatAVnqGIwPI1h5QlUvylAJlfXptm99i7Sm50/fRd966XGO5w7eW7/Im bLuSAxdlOMBrN5wkFL2F4IAF1xbtxRmPMWeg0yIqQp3dxgQ1vRPK7oY3R8fyX0nR2m mHYPLtfC0jHdoX0ZeV93D/GS4svytyYEIzm/UBDtLtHXcB7B2Jnib0TnEKRzlx5hzm fwYIjsd3SX53Y/F3DUgT7iKYlj0XZRNqW+i0CnMGNOLB9rznHRto3XcLfk6wYg2fX6 ToaQUULOK1Aew== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=free.fr X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=free.fr header.i=@free.fr header.a=rsa-sha256 header.s=smtp-20201208 header.b=kfti975R Subject: [Buildroot] [PATCH 1/1] configs/freescale_imx8m[mq]evk*: uboot needs openssl and gnutls X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , Julien Olivain , Gilles Talis Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Those defconfigs were recently bumped to NXP BSP lf-6.6.23-2.0.0. NXP BSP U-Boot version lf-6.6.23-2.0.0 is based on upstream version 2024.04. This version now requires OpenSSL and GnuTLS for that configuration. Those defconfigs are failing in uboot build, with output: In file included from tools/imagetool.h:24, from tools/imagetool.c:8: include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory 1471 | # include | ^~~~~~~~~~~~~~~ and: tools/mkeficapsule.c:20:10: fatal error: gnutls/gnutls.h: No such file or directory 20 | #include | ^~~~~~~~~~~~~~~~~ This commit fixes the issue by adding BR2_TARGET_UBOOT_NEEDS_GNUTLS=y and BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in those defconfigs. Signed-off-by: Julien Olivain --- Note: Patch tested in Gitlab CI pipeline: https://gitlab.com/jolivain/buildroot/-/pipelines/1400170073 --- configs/freescale_imx8mmevk_defconfig | 2 ++ configs/freescale_imx8mqevk_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/freescale_imx8mmevk_defconfig b/configs/freescale_imx8mmevk_defconfig index 2f57bfd2f0..335030fcd3 100644 --- a/configs/freescale_imx8mmevk_defconfig +++ b/configs/freescale_imx8mmevk_defconfig @@ -30,6 +30,8 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.6.23-2.0.0)/uboot-imx-lf-6.6.23-2.0.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mm_evk" BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=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 diff --git a/configs/freescale_imx8mqevk_defconfig b/configs/freescale_imx8mqevk_defconfig index 05a78e5b6b..50fcaeff83 100644 --- a/configs/freescale_imx8mqevk_defconfig +++ b/configs/freescale_imx8mqevk_defconfig @@ -30,6 +30,8 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL=y BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.6.23-2.0.0)/uboot-imx-lf-6.6.23-2.0.0.tar.gz" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mq_evk" BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=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