[yocto] How to use PRINC

Markus Hubig mhubig at imko.de
Mon Jul 2 09:00:25 PDT 2012


Hello @all,

now that I have found out that the variable "PRINC" stands for
"increment the PR-variable"
how do I use it?

Version 1, found here:
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#using-bbappend-files

PRINC = "1"

Version 2, found here:
http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SRC_URI

PRINC := "${@int(PRINC) + 2}"

Cheers, Markus



More information about the yocto mailing list