Re: [PATCH v3 4/7] binman: bintool: parametrize args to pass to binary for returning version

2022-09-07 Thread Simon Glass
On Thu, 1 Sept 2022 at 09:52, Quentin Schulz wrote: > > From: Quentin Schulz > > 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

Re: [PATCH v3 4/7] binman: bintool: parametrize args to pass to binary for returning version

2022-09-01 Thread Simon Glass
On Thu, 1 Sept 2022 at 09:52, Quentin Schulz wrote: > > From: Quentin Schulz > > 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

[PATCH v3 4/7] binman: bintool: parametrize args to pass to binary for returning version

2022-09-01 Thread Quentin Schulz
From: Quentin Schulz 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