Re: [PATCH 0/2] Yocto Compatible 2.0 support code

Patrick Ohly
2017-06-09T14:04:10Z

On Fri, 2017-06-09 at 08:50 -0500, Joshua Watt wrote:
> On Thu, 2017-06-08 at 21:31 +0200, Patrick Ohly wrote:
> > There's some truth to that IMHO, but I'm uncertain whether it
> > warrants
> > introducing entirely new syntax. In refkit, I only ran into one
> > particular case were an include file was necessary.
>
> I'd be curious to see that. How big was the .inc file?

It's here:
https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-core/recipes-devtools/bmap-tools/classes/bmap-tools-deploy.bbclass

That's the code still using the "inherit" workaround.

Not particularly large, but does things like "inherit deploy" and
"addtask" which themselves then either require conditional inherit or
anonymous python workarounds, so overall having them in a conditional
file is cleaner.

--
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.