From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F17CFC433EF for ; Sun, 10 Oct 2021 11:04:44 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9CA060F55 for ; Sun, 10 Oct 2021 11:04:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B9CA060F55 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E5B05833F0; Sun, 10 Oct 2021 13:04:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="J6nKYoBM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A17DB80202; Sun, 10 Oct 2021 13:04:38 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CD0E3833F0 for ; Sun, 10 Oct 2021 13:04:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jernej.skrabec@gmail.com Received: by mail-wr1-x434.google.com with SMTP id m22so45737171wrb.0 for ; Sun, 10 Oct 2021 04:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C2/rb9TZd9U1eHUv9mogthDPLT98OfsvWnBYRwIUS/s=; b=J6nKYoBMgwFFK7bP1VLsUW+s8s7DJI3DKgWBCLZirPWuqWp/iO98peutyashia/VYg UfNypdm7dgSpFvep80M8uBUpHcAd676zoiCNeV4bgdYV9VRAEgwO8sxaBx8vOE0p5fKx NbYvK/qz2BSdvHk5PWEzsnl0LBIAu+Gupse/5PYCY7Dujev0z72hkkzaA0nisPuzGccw aVHDH6YPkF0AL0V49Acc7DINcxE2bPGP444Tn7zaJ02XW5UM+VOjUihNg0/AL9ZneIxC pHYAOIVh07n1FOmUglO/LPj6rUNVZapCxU//e+YtdWYx9YCufmwLcGPS5OjdkcTQnjnU VpyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C2/rb9TZd9U1eHUv9mogthDPLT98OfsvWnBYRwIUS/s=; b=3O55GYq5uCyrHjjuEOnqPsI/MNDBcqAeZbpvS2styOGeNskimI62+LDl67nCUgy1qz ya5CFk6FVDVQrBGvCXZ1u9whSpOWfbAAkGh0GI2u9j+5QxMH+HllyWD5gokdma7wTJe0 /0LBxMZ7/TbEUMY2AysEEN4nnXPkCqw9ei/BeupX7Fmi8yy+cOH3dl8WtTmFyM59TqZm zLLUCSsUsRi50likqYwql31I7oMGu6WCgPOvQnYhy83mx6POgN6xwwrJAvqTlPKsoRq9 F98bbgTj10liOTZnOwLY4br01VoYlJiD/kqNwUcLOJRo3bVQbZZCcJTOuaJjdezQgbMg eaRA== X-Gm-Message-State: AOAM532ZDk89nmmuxuq6AJcISBmuC+qkhXdXOMvljFVh1cr77+b+bfRH SUQK87fA/NgJSF4X48DElt8= X-Google-Smtp-Source: ABdhPJzZ2fOgiwy0l+6HPMHDf8XcfrMPJ3k+gAA2TsIg2AIcLuE61Q8JvdRQYIZaUlg6LXVcXF0fVg== X-Received: by 2002:a05:600c:1d0b:: with SMTP id l11mr14864327wms.46.1633863875426; Sun, 10 Oct 2021 04:04:35 -0700 (PDT) Received: from kista.localnet (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f6sm1786963wmj.28.2021.10.10.04.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 04:04:35 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Tom Rini Cc: u-boot@lists.denx.de, pali@kernel.org, mr.nuke.me@gmail.com Subject: Re: Re: Broken build with disabling OpenSSL crypto Date: Sun, 10 Oct 2021 13:04:34 +0200 Message-ID: <4682648.31r3eYUQgx@kista> In-Reply-To: <20211007194100.GX31748@bill-the-cat> References: <18564205.Z0HQFNUZ9R@kista> <20211007194100.GX31748@bill-the-cat> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi! Dne =C4=8Detrtek, 07. oktober 2021 ob 21:41:00 CEST je Tom Rini napisal(a): > On Wed, Oct 06, 2021 at 11:27:43PM +0200, Jernej =C5=A0krabec wrote: >=20 > > Hi everyone! > >=20 > > Commit cb9faa6f98ae ("tools: Use a single target-independent config to= =20 enable=20 > > OpenSSL") recently introduced option to disable usage of OpenSSL via=20 > > CONFIG_TOOLS_LIBCRYPTO. However, just a bit later, another commit=20 b4f3cc2c42d9=20 > > ("tools: kwbimage: Do not hide usage of secure header under=20 > > CONFIG_ARMADA_38X") made U-Boot tools hard dependent on OpenSSL. That=20 totally=20 > > defeats the purpose of first commit. I suggest that it gets reverted. > >=20 > > I would like disable OpenSSL for my usage, since it gives me troubles w= hen=20 > > cross-compiling U-Boot inside LibreELEC build system. It's not needed f= or=20 our=20 > > case anyway. >=20 > How hard is it to specify openssl as a dependency for U-Boot, in the > LibreELEC build system? I assume openssl is being used in other parts > of the build anyhow. Thanks! Sure, OpenSSL package is present and we fixed issue with pkg-config in the= =20 meantime (it picked target paths instead for the host). However, that doesn= 't=20 change anything. CONFIG_TOOLS_LIBCRYPTO is still borked and should be eithe= r=20 fixed or dropped. I prefer first option because OpenSSL dependency can be=20 removed and that allows more concurrency (multiple packages are built at th= e=20 same time). Best regards, Jernej