summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-01-09 20:13:49 -0700
committerSimon Glass <[email protected]>2022-01-25 12:36:11 -0700
commit252de6b1f7189062d984b72149ea4d3123a63d8d (patch)
tree60c10dce7b90cdfd76ee4ec2fcefefabc7993a10 /scripts/basic
parent81d6e3f088f799b213b3a4be2b26619c5801e967 (diff)
binman: Add support for bintools
Binman requires various tools to actually work, such as 'lz4' to compress data and 'futility' to sign Chrome OS firmware. At present these are handled in an ad-hoc manner and there is no easy way to find out what tools are needd to build an image, nor where to obtain them. Add an implementation of 'bintool', a base class which implements this functionality. When a bintool is required, it can be requested from this module, then executed. When the tool is missing, it can provide a way to obtain it. Note that this uses Command directly, not the tools.Run() function. This allows proper handling of missing tools and avoids needing to catch and re-raise exceptions. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions