[PATCH v3 1/2] binman: bintool: add extra_env parameter to run_cmd

Quentin Schulz quentin.schulz at cherry.de
Fri May 8 18:39:38 CEST 2026


On 5/8/26 6:34 PM, Simon Glass wrote:
> Hi Sergio,
> 
> On Thu, 7 May 2026 at 13:03, Sergio Prado <sergio.prado at e-labworks.com> wrote:
>>
>> Hi Simon,
>>
>>> My understanding of the justification for NOT passing the env argument
>>> is that it is annoying to do that plumbing. But I would rather do that
>>> plumbing. Perhaps not stated, but one of Binman's design goals is to
>>> try to have callers pass in their requirements rather than relying on
>>> state or sideways data (although there is plenty of that even so :-)
>>
>> I came up with a solution similar to FIT image signing. It is much simpler and does not require passing additional environment variables to binman (though it still requires defining a few environment variables when invoking make, such as OPENSSL_CONF and SOFTHSM2_CONF, which I assume is what you referred to as “sideways data”).
>>
>> Please let me know if I should submit this new version as v4, or is the approach of passing environment variables to binman still under discussion.
> 
> Let's see what Quentin thinks about this...
> 

Please send the v4 so we can have a look at it but it sounds nice already :)

Cheers,
Quentin



More information about the U-Boot mailing list