[PATCH] scripts: dtc-version: support git version strings too
Tom Rini
trini at konsulko.com
Mon May 15 23:12:41 CEST 2023
On Wed, May 03, 2023 at 12:23:39PM +0200, Martin Hundebøll wrote:
> 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: Martin Hundebøll <martin at geanix.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230515/ec3a1c62/attachment.sig>
More information about the U-Boot
mailing list