[meta-freescale] (imx6q-sabrelite) Are there -dev and/or -sdk builds for yocto freescale

Chris Larson clarson at kergoth.com
Fri May 17 07:20:36 PDT 2013


On Fri, May 17, 2013 at 2:33 AM, Luo Zhenhua-B19537 <B19537 at freescale.com>wrote:

> > From: meta-freescale-bounces at yoctoproject.org [mailto:
> meta-freescale-bounces at yoctoproject.org] On Behalf Of Thanassis Silis
> > Sent: Friday, May 17, 2013 5:07 PM
> > To: meta-freescale at yoctoproject.org
> >
> > Hello everyone,
> > I am going through the yocto documentation and stumbled upon the images
> that can be bitbaked.
> >
> http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#ref-images
> >
> > What interests me is the fact that one can bitbake -dev & -sdk images
> and I was wondering If I can do that too  in the fsl-image-* images.
> >
> > Is it possible?
> [Luo Zhenhua-B19537] Sure. You can try following ways:
>     1. Create your customized rootfs bb that inherits existent rootfs
> type, and add required features(dbg-pkgs, dev-pkgs, etc) in IMAGE_FEATURES,
>  below is an example:
>        require fsl-image-<xxx>.bb
>        IMAGE_FEATURES += "dev-pkgs"
>     2. Edit existent demo rootfs bb as following
>        IMAGE_FEATURES += "dev-pkgs"
>
> > If not, is someone working on recipes for it?
> > As a last resort, is it relatively 'easy' to take (for example) the
> fsl-image-test recipe and remove the 'stripping' clauses (wherever these
> may reside)
> > so that, at least, I will have non-stripped versions of the libraries? I
> need them so I can debug with gdb and valgrind directly on the target...
> [Luo Zhenhua-B19537] INHIBIT_PACKAGE_STRIP is a choice to keep debug
> symbols,
>        INHIBIT_PACKAGE_STRIP: If set to "1", causes the build to not strip
> binaries in resulting packages.
>

While INHIBIT_PACKAGE_STRIP does exist, the better bet is to also add
dbg-pkgs rather than just dev-pkgs, if you want debugging symbols.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130517/44bf7f5b/attachment.html>


More information about the meta-freescale mailing list