Skip to content

Commit b2d9cc6

Browse files
macpijanmyo73
authored andcommitted
meta/conf/bitbake.conf: support for AUTOREV in SRCREV
Allows to use the SRCREV = "${AUTOREV}" similarly as in Yocto, to build from the latest commit. Fixes: #15 Signed-off-by: Maciej Pijanowski <[email protected]>
1 parent 64ee387 commit b2d9cc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meta/conf/bitbake.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ PR = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[2] or 'r0'
3535
PROVIDES = ""
3636
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
3737
S = "${WORKDIR}/${P}"
38+
AUTOREV = "${@bb.fetch2.get_autorev(d)}"
3839
SRC_URI = "file://${FILE}"
3940
STAMP = "${TMPDIR}/stamps/${PF}"
4041
SVNDIR = "${DL_DIR}/svn"

0 commit comments

Comments
 (0)