From patchwork Sun Aug 4 16:15: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: 1968824 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=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4WcPnw1PPKz1yZl for ; Mon, 5 Aug 2024 02:16:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 046596065A; Sun, 4 Aug 2024 16:16:17 +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 yxdk2PHr_Q9U; Sun, 4 Aug 2024 16:16:16 +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 F0B7160704 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id F0B7160704; Sun, 4 Aug 2024 16:16:15 +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 113911BF371 for ; Sun, 4 Aug 2024 16:16:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id F26B24026E for ; Sun, 4 Aug 2024 16:16:14 +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 d72WsEsMuBSD for ; Sun, 4 Aug 2024 16:16:14 +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 A93594025C DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org A93594025C Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [IPv6:2a01:e0c:1:1599::10]) by smtp2.osuosl.org (Postfix) with ESMTPS id A93594025C for ; Sun, 4 Aug 2024 16:16:13 +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 39E3CB005A4; Sun, 4 Aug 2024 18:16:09 +0200 (CEST) From: Julien Olivain To: buildroot@buildroot.org Date: Sun, 4 Aug 2024 18:15:57 +0200 Message-ID: <20240804161557.1319569-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=1722788171; bh=R624jQGWkXIa/daWQx1VL/kcHw9ZQkBaZ6XbsRwEHnI=; h=From:To:Cc:Subject:Date:From; b=O8xMCPBFF1YZjFbBU4ch0bhxUWTtiVtFM3O2jbzNhUeljK1zQkhhvYnP9l1WQKNfn 77XQDsitKzv1nQ4oGAEErXH6bg/rEM94p+byweTY1ZB37Yw2LdY2QwK/Ly4TeoLhbG QrgSd3yc3Ow0BaPB4KsNUjtVia6thosE3Yhrn2UNe5qwa6sbs0DeTUIgoaHZHRDeEn U3+seRQ73c0rFyzMfA8fdt+65bvuU1x+HIQgZNQ7SOyTeTQ8vKN/Lx44iq/wYCOTpl fZA2eqN3azL3C/bs2Ay5AtXNw1LHJg5f8HsFpZYwkNaNeaAcifMZbg+ISf47VvQXiH 3rM/0osuFqRnQ== 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=O8xMCPBF Subject: [Buildroot] [PATCH 1/1] configs/freescale_imx8q*: uboot needs openssl 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: Julien Olivain , Fabio Estevam 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. 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 | ^~~~~~~~~~~~~~~ This commit fixes the issue by adding BR2_TARGET_UBOOT_NEEDS_OPENSSL=y in all the impacted defconfigs. Signed-off-by: Julien Olivain --- Note: Patch tested in Gitlab CI pipeline: https://gitlab.com/jolivain/buildroot/-/pipelines/1400170073 --- configs/freescale_imx8qmmek_defconfig | 1 + configs/freescale_imx8qxpmek_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/freescale_imx8qmmek_defconfig b/configs/freescale_imx8qmmek_defconfig index 3ad273c9d4..6fb3a54df1 100644 --- a/configs/freescale_imx8qmmek_defconfig +++ b/configs/freescale_imx8qmmek_defconfig @@ -31,6 +31,7 @@ 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="imx8qm_mek" BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_IMX_MKIMAGE=y diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig index d2fae2c9e7..3ff476e992 100644 --- a/configs/freescale_imx8qxpmek_defconfig +++ b/configs/freescale_imx8qxpmek_defconfig @@ -33,6 +33,7 @@ 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="imx8qxp_mek" BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_IMX_MKIMAGE=y