From: Patrick Ohly <patrick.ohly@intel.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>, yocto@yoctoproject.org
Subject: Re: esdk without using Poky?
Date: Wed, 04 Jan 2017 13:54:15 +0100 [thread overview]
Message-ID: <1483534455.28169.46.camel@intel.com> (raw)
In-Reply-To: <d8c31717-b728-65ef-782c-10918fb331bb@mlbassoc.com>
On Wed, 2017-01-04 at 12:05 +0100, Gary Thomas wrote:
> On 2016-11-04 04:41, Paul Eggleton wrote:
> > On Wed, 02 Nov 2016 07:25:13 Gary Thomas wrote:
> >> I've tested your patches for this (from the OE-core mailing list)
> >> and I can now build and use the eSDK for my board :-)
> >
> > Great!
> >
> >> I do have a couple observations/questions:
> >>
> >> * I added my missing tool with this line in my local.conf
> >> TOOLCHAIN_HOST_TASK_append = " nativesdk-ti-cgt-pru"
> >> Why did this cause many of the nativesdk tools to have to be rebuilt?
> >
> > So just FYI this will only work for the standard SDK, it's not the right way
> > to add these tools for the eSDK - in fact it may break the eSDK due to
> > bringing things into the native sysroot that shouldn't be there.
> >
> > At the moment I think the only way to properly add this to the eSDK is to do
> > this:
> >
> > SDK_TARGETS += "ti-cgt-pru-native:do_populate_sysroot"
> >
> > We don't document this, and it's a little awkward in any case. I'll work on
> > it.
>
> This was working great for me until I just upgraded to the latest [poky]
> master (rev dbb247cac5fbf7b037e4955f9793828451723924). With the SDK_TARGETS
> line in my local.conf, I get this error:
>
> ERROR: Error for /local/poky-cutting-edge/meta-rainier-am335x-p8701/packages/images/magicard-demo-image_1.0.bb,
> dependency ti-cgt-pru-native:do_populate_sysroot:do_populate_sysroot
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> does not contain exactly one ':' character.
> Task 'rdepends' should be specified in the form 'packagename:task'
>
> Any ideas what changed and how I get it working again?
I enhanced the error checking, and the rdepends varflag in your example
indeed isn't valid. ":do_populate_sysroot" got appended twice to the
recipe name. That error got ignored silently earlier.
populate_sdk_ext.bbclass appends ":do_populate_sysroot" when setting
do_sdk_depends[rdepends], so you should use just:
SDK_TARGETS += "ti-cgt-pru-native"
--
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.
next prev parent reply other threads:[~2017-01-04 12:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-31 12:19 esdk without using Poky? Gary Thomas
2016-10-31 22:06 ` Paul Eggleton
2016-11-01 12:36 ` Gary Thomas
2016-11-01 20:33 ` Paul Eggleton
2016-11-02 1:37 ` Gary Thomas
2016-11-02 1:44 ` Paul Eggleton
2016-11-02 2:02 ` Gary Thomas
2016-11-02 2:25 ` Paul Eggleton
2016-11-02 6:25 ` Gary Thomas
2016-11-04 3:41 ` Paul Eggleton
2016-11-04 5:38 ` Gary Thomas
2017-01-04 11:05 ` Gary Thomas
2017-01-04 12:54 ` Patrick Ohly [this message]
2017-01-04 13:25 ` Gary Thomas
2017-01-31 7:09 ` Gary Thomas
2017-02-03 1:54 ` Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483534455.28169.46.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=gary@mlbassoc.com \
--cc=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.