Skip to content
Commit e4408434 authored by Quentin Schulz's avatar Quentin Schulz Committed by Simon Glass
Browse files

binman: bintool: parametrize args to pass to binary for returning version



The code to check the version is very similar between binaries, the most
likely only needed variables are the regex to find the version (already
supported) and the args to pass to the binary so that it prints this
version (e.g. --version, -V or similar).

Let's make it a parameter of Bintool so that code duplication can be
avoided for simple changes.

Signed-off-by: default avatarQuentin Schulz <quentin.schulz@theobroma-systems.com>
parent 65e2c14d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment