[PATCH] tools: Use a single target-independent config to enable OpenSSL

Alex G. mr.nuke.me at gmail.com
Tue Jun 22 16:13:45 CEST 2021


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


More information about the U-Boot mailing list