Skip to content
Commit f0738152 authored by Martin Hundebøll's avatar Martin Hundebøll Committed by Tom Rini
Browse files

scripts: dtc-version: support git version strings too



Building dtc from git causes the version number to start with a 'v'
(e.g. v1.7.0). printf then fails to parse 'v1' as a decimal value, and
prints '000700' instead of '010700'. Subsequently, the build fails,
because '000700' is less than the required '010400' version.

Signed-off-by: default avatarMartin Hundebøll <martin@geanix.com>
parent eaa9efaf
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