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 19418C433EF for ; Fri, 22 Oct 2021 14:59:32 +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 44235610FF for ; Fri, 22 Oct 2021 14:59:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 44235610FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz 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 39CF783458; Fri, 22 Oct 2021 16:59:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="h3Xy7rsS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 50F8C834BF; Fri, 22 Oct 2021 16:59:27 +0200 (CEST) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1BCDE83311 for ; Fri, 22 Oct 2021 16:59:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from thinkpad (unknown [172.20.6.87]) by mail.nic.cz (Postfix) with ESMTPSA id 7923E1409CA; Fri, 22 Oct 2021 16:59:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1634914763; bh=kfGwMlm1swDg3mwUbmqdYBjcA31KfeSztHKjAch4UiY=; h=Date:From:To; b=h3Xy7rsS9j060s3Hjyq/1bW/eSQ8DmOFyQnGA442JaRrFbaqjxjjiWpvTE1ni2d3M nW01ZKUXKUO4ZVrYqKy/Ah/cGb6Mj8GpTPyqKcf0hc2gkY8QHIHpYNjpuM8G24VD7K T1Xm2G1Sl/z2NAr3+3s7MUK6/nQrdOMO/TRVSWgA= Date: Fri, 22 Oct 2021 16:59:22 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Heinrich Schuchardt Cc: Samuel Holland , Pali =?UTF-8?B?Um9ow6Fy?= , Andre Przywara , u-boot@lists.denx.de, Jagan Teki , "Alex G ." , Artem Lapkin , Priyanka Jain , Sughosh Ganu , Tom Rini Subject: Re: [PATCH v4 1/4] tools: Separate image types which depend on OpenSSL Message-ID: <20211022165922.22164ef8@thinkpad> In-Reply-To: References: <20211020024455.48136-1-samuel@sholland.org> <20211020024455.48136-2-samuel@sholland.org> <20211020072925.drf6622qhq4yykg6@pali> <20211020142902.12219c45@donnerap.cambridge.arm.com> <20211020134752.62k4fxukucj5rodh@pali> <20211021150048.59bb90d6@thinkpad> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Fri, 22 Oct 2021 12:09:19 +0200 Heinrich Schuchardt wrote: > On 10/21/21 15:00, Marek Beh=C3=BAn wrote: > > BTW, wouldn't it be enough to simply imply TOOLS_LIBCRYPTO for mvebu > > platform in Kconfig? > > =20 >=20 > We should only use 'imply' for suggested settings and never for hard=20 > requirements. TOOLS_LIBCRYPTO already defaults to 'Y'. So implying it=20 > for mvebu would be redundant. >=20 > In an OS distribution we only want to ship a single version of mkimage.=20 > So it is good to elimate symbol CONFIG_MXS. >=20 > How mkimage is built should not depend on CONFIG_TOOLS_LIBCRYPTO. >=20 > Tom wrote regarding this aspect in=20 > https://lists.denx.de/pipermail/u-boot/2021-September/460251.html: >=20 > "if we're building a generically useful tool, we don't want another > symbol for it." OK, so mkimage and dumpimage should be always generic and always support all platforms, that makes sense, since the tools can be installed as a distribution package. But I still think it should be possible to cripple these tools if the developer wants to disable libcrypto due to embedded environment. Marek