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 X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57F03C2B9F4 for ; Tue, 22 Jun 2021 14:13:59 +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 B24B961357 for ; Tue, 22 Jun 2021 14:13:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B24B961357 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 616A780F32; Tue, 22 Jun 2021 16:13:54 +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="d+USRVNO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 063018295B; Tue, 22 Jun 2021 16:13:53 +0200 (CEST) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 0C2798060C for ; Tue, 22 Jun 2021 16:13:50 +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=mr.nuke.me@gmail.com Received: by mail-oi1-x233.google.com with SMTP id h9so11388229oih.4 for ; Tue, 22 Jun 2021 07:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=i3k0+PUQA/3RhwprRU8S3dtGARnZI2/zt5qceJiC/cc=; b=d+USRVNOGlXSWGBJzgWswyflt0IogiedQhQSPY2FMX+3EoqnESQtTDO/IEjmwV0RxD b5WFt7OycC0j5aiu63dsQqiR+xg3WdQboykY57K1aVN6R6fJrVivB+UG/ImzenAT1end s8OZfcXsa6gNe1N4ytyMPQSfeVCS6j+IMSR3uWLFa9UEjPk8uCkh/70W0dgxAv5C7r1Q v67YgnjuxT6l70NBQA13jcKh4X7fQTkfA8/Ypu5/87A+0uz+BSkaWDuAvYjOgG27yRWr VNlWsNFAV3e1/mgIe1LMzAyr0YCDLwkYaTAiVDlvUpGlPGIUn5PNkXrMIkLTsxyaib5K yQ2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=i3k0+PUQA/3RhwprRU8S3dtGARnZI2/zt5qceJiC/cc=; b=LR8OgUviUGB2mBTIZYAIE5S7wsL7nUqGtyMLBadT48obnId9L3Se6zGPd0kwjJOYak ZYt6KIV1ZicPkUhh7dvoM8uWsMwqSgvU+40sGBJsXqKpjx/LAZIbi+who1mGR1OzRrpY 2agBVpErJNuQNWj2qwyVmbDKWLMGOQu1bqcQw4AXq3QUshruSLRfcKbEe8xaVAPIleRH SKGAfuKFJDJSzpi/En8EuIah5UKWleaOrirctPWibrxI2z0AiKb2PqYKL/dq2iFxLBJC 1CVDw+0SJKsfXCbD4CsW4DN3cI8OuYyfaooz+NBwYRVZ+leyBv3Rs7RccDh9BNmDMUS/ 2XNw== X-Gm-Message-State: AOAM532zBhpNfrXT+/1nid3X6rudRz1JqftnRO7EyUkquS5RWeINS31z YCOp1u9w1VDX8xjtefuZSLI= X-Google-Smtp-Source: ABdhPJxF9rxpJ8epzidXK9j33G4Ss2WN7UrrgHB5rcKTnCXjjff1+CIygL4z9j1/Xz2BAsJE3dZhvw== X-Received: by 2002:a05:6808:138b:: with SMTP id c11mr1775939oiw.19.1624371228595; Tue, 22 Jun 2021 07:13:48 -0700 (PDT) Received: from nuclearis3.gtech (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id v20sm2270641oto.56.2021.06.22.07.13.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Jun 2021 07:13:46 -0700 (PDT) Subject: Re: [PATCH] tools: Use a single target-independent config to enable OpenSSL To: Simon Glass Cc: U-Boot Mailing List , Tom Rini References: <20210524202317.1492578-1-mr.nuke.me@gmail.com> From: "Alex G." Message-ID: Date: Tue, 22 Jun 2021 09:13:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 6/22/21 8:31 AM, Simon Glass wrote: [snip] >> +config TOOLS_USE_LIBCRYPTO > > would HOST_LIBCRYPTO be better? I had considered a shorter kconfig such as the above. Does it mean (1) The build host has libcrypto available? (2) We use the libcrypto on the host? (3) There is a libcrypto for the target? "tools" is a subset of what we do on the host so it seems more concrete. I realize you could read "tools use libcrypto" as a statement rather than a question, which would seem odd in kconfig. As far as having a verb, I thought it to be important because there isn't a substantially similar use of Kconfig in u-boot. I didn't want the name to be too vague. Hope this clears things up, Alex