summaryrefslogtreecommitdiffstats
path: root/scripts/buildhistory-collect-srcrevs
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-08-26 17:57:37 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-26 21:09:44 (GMT)
commit881bafcbb98af55d2f3e5973d514d12c44d5a115 (patch)
treed1f60592707f058159de7f9e5af2c7772c08bba9 /scripts/buildhistory-collect-srcrevs
parentf42b404a99a24ccaf1c1fe36a4be8ce9f0bc711a (diff)
downloadpoky-881bafcbb98af55d2f3e5973d514d12c44d5a115.tar.gz
buildhistory-collect-srcrevs: Adapt to the new variable override syntax
(From OE-Core rev: bcce0e7cef5768d5cfe58c356f6196af8ce03537) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-collect-srcrevs')
-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 bca01a9..c937e49 100755
--- a/scripts/buildhistory-collect-srcrevs
+++ b/scripts/buildhistory-collect-srcrevs
@@ -53,7 +53,7 @@ def main():
53 sys.exit(1) 53 sys.exit(1)
54 54
55 if options.forcevariable: 55 if options.forcevariable:
56 forcevariable = '_forcevariable' 56 forcevariable = ':forcevariable'
57 else: 57 else:
58 forcevariable = '' 58 forcevariable = ''
59 59
@@ -99,7 +99,7 @@ def main():
99 print('# %s' % curdir) 99 print('# %s' % curdir)
100 for pn, name, srcrev in srcrevs: 100 for pn, name, srcrev in srcrevs:
101 if name: 101 if name:
102 print('SRCREV_%s_pn-%s%s = "%s"' % (name, pn, forcevariable, srcrev)) 102 print('SRCREV_%s:pn-%s%s = "%s"' % (name, pn, forcevariable, srcrev))
103 else: 103 else:
104 print('SRCREV:pn-%s%s = "%s"' % (pn, forcevariable, srcrev)) 104 print('SRCREV:pn-%s%s = "%s"' % (pn, forcevariable, srcrev))
105 105