diff options
author | Peter Marko <peter.marko@siemens.com> | 2023-12-16 19:55:04 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-01-31 04:10:24 -1000 |
commit | 01017ff17d29d1c975fe35e26fce0c971a3bbb2c (patch) | |
tree | 220a50c64394b9b1cb30dcc5cb3bdbb540dd6c28 /scripts/lib/devtool/runqemu.py | |
parent | ba6a6eb13ec272838ad98ce8bdcd77b47d3d879f (diff) | |
download | poky-01017ff17d29d1c975fe35e26fce0c971a3bbb2c.tar.gz |
dtc: preserve version also from shallow git clones
Since switch from Makefile to meson based build,
the version is no longer hardcoded but queried from git tag.
This works only if git history is available.
When shallow tarballs are used, tag is not available.
Example error for trusted-firmware-a from meta-arm:
dtc version too old (039a994), you need at least version 1.4.4
Backport also patch to fix version in meson file.
(From OE-Core rev: a77defdac80d4cc660d6b6677bc166a1d1d338b5)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 319f5d8a32d1f4a71ac997ce4522249b08f84945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions