[yocto] How to use PRINC

Rifenbark, Scott M scott.m.rifenbark at intel.com
Tue Jul 3 08:06:34 PDT 2012


> For this example the focus is on the FILESEXTRAPATHS_prepend line in 
> the .bbappend file.  The PRINC = "1" line is included in the example 
> because that is how the file actually appears.  Is the proper thing to 
> change that line to PRINC := "${@int(PRINC) + 2}" ??
> 
> And would the reason be because I am overriding the file in SRC_URI.
> I guess I am unsure as to whether we increment PR here in this 
> example.  If so, I will change it and add some explanatory text around 
> it as part of the example.
> 
> See
> http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#us
> ing-bbappend-files
> for the entire example.
> 
> Thanks, Scott

-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Chris Larson
Sent: Monday, July 02, 2012 9:05 AM
To: Markus Hubig
Cc: Yocto Project Mailing List
Subject: Re: [yocto] How to use PRINC

On Mon, Jul 2, 2012 at 9:00 AM, Markus Hubig <mhubig at imko.de> wrote:
> PRINC := "${@int(PRINC) + 2}"

This is the correct method to use in a bbappend. Start with 1,
obviously, and bump it each time the bbappend changes.
-- 
Christopher Larson
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list