mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
base.bbclass: p4 fetcher supports srcrev
Enable the perforce fetcher to call bb.fetch2.get_srcrev() as it can use
'SRCREV = "${AUTOREV}"'.
(From OE-Core rev: 9d6ac71e4d954d857ecb1708ab4fe4bc552244aa)
Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0006a7fada
commit
40f3099e8e
@@ -569,6 +569,10 @@ python () {
|
||||
needsrcrev = True
|
||||
d.appendVarFlag('do_fetch', 'depends', ' mercurial-native:do_populate_sysroot')
|
||||
|
||||
# Perforce packages support SRCREV = "${AUTOREV}"
|
||||
elif scheme == "p4":
|
||||
needsrcrev = True
|
||||
|
||||
# OSC packages should DEPEND on osc-native
|
||||
elif scheme == "osc":
|
||||
d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
|
||||
|
||||
Reference in New Issue
Block a user