* How to use PRINC
@ 2012-07-02 16:00 Markus Hubig
2012-07-02 16:05 ` Chris Larson
0 siblings, 1 reply; 4+ messages in thread
From: Markus Hubig @ 2012-07-02 16:00 UTC (permalink / raw)
To: Yocto Project Mailing List
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to use PRINC
2012-07-02 16:00 How to use PRINC Markus Hubig
@ 2012-07-02 16:05 ` Chris Larson
2012-07-02 16:44 ` Darren Hart
2012-07-03 15:06 ` Rifenbark, Scott M
0 siblings, 2 replies; 4+ messages in thread
From: Chris Larson @ 2012-07-02 16:05 UTC (permalink / raw)
To: Markus Hubig; +Cc: Yocto Project Mailing List
On Mon, Jul 2, 2012 at 9:00 AM, Markus Hubig <mhubig@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to use PRINC
2012-07-02 16:05 ` Chris Larson
@ 2012-07-02 16:44 ` Darren Hart
2012-07-03 15:06 ` Rifenbark, Scott M
1 sibling, 0 replies; 4+ messages in thread
From: Darren Hart @ 2012-07-02 16:44 UTC (permalink / raw)
To: Chris Larson; +Cc: Yocto Project Mailing List
On 07/02/2012 09:05 AM, Chris Larson wrote:
> On Mon, Jul 2, 2012 at 9:00 AM, Markus Hubig <mhubig@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.
>
Scott, I believe this need updating in the dev-manual section "4.1.4.
Using .bbappend Files".
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to use PRINC
2012-07-02 16:05 ` Chris Larson
2012-07-02 16:44 ` Darren Hart
@ 2012-07-03 15:06 ` Rifenbark, Scott M
1 sibling, 0 replies; 4+ messages in thread
From: Rifenbark, Scott M @ 2012-07-03 15:06 UTC (permalink / raw)
To: Chris Larson, Markus Hubig; +Cc: Yocto Project Mailing List
> 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@yoctoproject.org [mailto:yocto-bounces@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@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-03 15:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 16:00 How to use PRINC Markus Hubig
2012-07-02 16:05 ` Chris Larson
2012-07-02 16:44 ` Darren Hart
2012-07-03 15:06 ` Rifenbark, Scott M
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.