aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-08-26 19:57:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-26 22:09:25 +0100
commitbcce0e7cef5768d5cfe58c356f6196af8ce03537 (patch)
tree4968162519ee291c519bc70451103bf397b930fd
parent1fd8882db9011a6fe18da7611fba3426fd5cb00d (diff)
downloadopenembedded-core-bcce0e7cef5768d5cfe58c356f6196af8ce03537.tar.gz
openembedded-core-bcce0e7cef5768d5cfe58c356f6196af8ce03537.tar.bz2
openembedded-core-bcce0e7cef5768d5cfe58c356f6196af8ce03537.zip
buildhistory-collect-srcrevs: Adapt to the new variable override syntax
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/buildhistory-collect-srcrevs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildhistory-collect-srcrevs b/scripts/buildhistory-collect-srcrevs
index bca01a922b..c937e49c2a 100755
--- a/scripts/buildhistory-collect-srcrevs
+++ b/scripts/buildhistory-collect-srcrevs
@@ -53,7 +53,7 @@ def main():
sys.exit(1)
if options.forcevariable:
- forcevariable = '_forcevariable'
+ forcevariable = ':forcevariable'
else:
forcevariable = ''
@@ -99,7 +99,7 @@ def main():
print('# %s' % curdir)
for pn, name, srcrev in srcrevs:
if name:
- print('SRCREV_%s_pn-%s%s = "%s"' % (name, pn, forcevariable, srcrev))
+ print('SRCREV_%s:pn-%s%s = "%s"' % (name, pn, forcevariable, srcrev))
else:
print('SRCREV:pn-%s%s = "%s"' % (pn, forcevariable, srcrev))