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

Sergio Prado sergio.prado at e-labworks.com
Thu May 7 21:03:30 CEST 2026


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.

Thanks for reviewing.

Regards,

Sergio Prado


More information about the U-Boot mailing list