Re: [yocto] inheriting native.bbclass explicitly

2018-09-14 Thread Dudziak Krzysztof
text describing to BBCLASSEXTEND-case krzysiek -Original Message- From: Andre McCurdy [mailto:armccu...@gmail.com] Sent: Friday, 14. September 2018 01:05 To: Dudziak Krzysztof Cc: Burton, Ross ; yocto@yoctoproject.org Subject: Re: [yocto] inheriting native.bbclass explicitly On Thu, Sep 13, 2018 at

Re: [yocto] inheriting native.bbclass explicitly

2018-09-14 Thread Andre McCurdy
Sent: Friday, 14. September 2018 01:05 > To: Dudziak Krzysztof > Cc: Burton, Ross ; yocto@yoctoproject.org > Subject: Re: [yocto] inheriting native.bbclass explicitly > > On Thu, Sep 13, 2018 at 6:05 AM, Dudziak Krzysztof > wrote: >> Current release's reference manual iss

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Andre McCurdy
BCLASSEXTEND should not have a "-native" suffix. > krzysiek > > -Original Message- > From: Burton, Ross [mailto:ross.bur...@intel.com] > Sent: Thursday, 13. September 2018 14:00 > To: Dudziak Krzysztof > Cc: yocto@yoctoproject.org > Subject: Re: [yocto

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Dudziak Krzysztof
roject.org Subject: Re: [yocto] inheriting native.bbclass explicitly On 13 September 2018 at 12:39, Dudziak Krzysztof wrote: > Thanks for hints. > I don't want to have this package on target system. > You sound like inheriting explicitly had some major drawback of wide scope. It won't

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Dudziak Krzysztof
: [yocto] inheriting native.bbclass explicitly CCing the list again. Please remember to reply to the list. On 13 September 2018 at 11:42, Dudziak Krzysztof wrote: > Is it possible for one Bitbake target to check list and order of classes > inherited? bitbake -e [recipe] will show yo

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Dudziak Krzysztof
Got it and will follow your recommendation. Thanks. -Original Message- From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Thursday, 13. September 2018 14:00 To: Dudziak Krzysztof Cc: yocto@yoctoproject.org Subject: Re: [yocto] inheriting native.bbclass explicitly On 13 September

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Burton, Ross
On 13 September 2018 at 12:39, Dudziak Krzysztof wrote: > Thanks for hints. > I don't want to have this package on target system. > You sound like inheriting explicitly had some major drawback of wide scope. It won't be included in the image unless you add it to the image. Ross --

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Burton, Ross
CCing the list again. Please remember to reply to the list. On 13 September 2018 at 11:42, Dudziak Krzysztof wrote: > Is it possible for one Bitbake target to check list and order of classes > inherited? bitbake -e [recipe] will show you what was parsed. In this situation I wouldn't worry

[yocto] inheriting native.bbclass explicitly -- more details

2018-09-13 Thread Dudziak Krzysztof
autconf-archive's recipe as for OE-core layer builts also native package in BBCLASSEXTEND-based fashion. I like for system built here to change the approach to explicit-class-inheritance fashion in .bbappend in own layer. Will it suffice to ensure native.bbclass is explicitly inherited as last

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Burton, Ross
Adding yocto@ back to CC. Please remember to mail the list and not the sender. On 13 September 2018 at 10:34, Dudziak Krzysztof wrote: > Will BBCLASSEXTEND=native fashion also build target system package? > This is what is not needed (autoconf-archive on target system). > Therefore thoughts

Re: [yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Burton, Ross
On 13 September 2018 at 10:17, Dudziak Krzysztof wrote: > Is this rule’s scope literally each single recipe separately > > or rather the compound .bb file + set of matching .bbappends? Compound. > I am going to use that method for building autoconf-archive package > > as for device built here

[yocto] inheriting native.bbclass explicitly

2018-09-13 Thread Dudziak Krzysztof
Hi, YP reference manual chapter 6.83 "native.bbclass" https://www.yoctoproject.org/docs/2.5.1/ref-manual/ref-manual.html#ref-classes-native reads: "*Create a myrecipe-native.bb that inherits the native class. If you use this method, you must order the inherit statement in the recipe after all