After running “bitbake usdpaa”, the libraries can be found in tmp/sysroots/<machie>/ folder, and then you can use below option 2 to do standalone build.
Best Regards,
Zhenhua
From: hari prasad [mailto:hprasad257@gmail.com]
Sent: Monday, May 19, 2014 6:18 PM
To: Luo Zhenhua-B19537
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] (no subject)
what i want is to install usdpaa libraries in my ubuntu 12.10 and write a simple c code using the apis
regards,
Hari Prasad S R
7418234575
On Mon, May 19, 2014 at 3:16 PM,
zhenhua.luo@freescale.com <zhenhua.luo@freescale.com> wrote:
Hi Prasad,
If you want to build the sample application in Yocto environment, following is the step.
1.
Develop your application source
2.
Develop the recipe for your application, please refer to
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe
NOTE: if your application has build dependency on usdpaa,
please add DEPENDS = “usdpaa” in the recipe of your application, if your application has runtime dependency on usdpaa, add RDEPENDS_${PN} = “usdpaa” in recipe of your application.
3.
Add IMAGE_INSTALL_append = “ <your_app>” in local.conf to ensure the rootfs image includes the binaries of your application.
4.
Build rootfs image.
Alternatively, you can use Yocto SDK to build your application.
1.
Run “bitbake <rootfs-image> -c populate-sdk” to generate the cross toolchain installer
2.
Install tmp/deploy/sdk/*.sh
3.
Use the standalone toolchain to build your application, please refer to
http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#setting-up-the-cross-development-environment
Hope this is helpful for you.
Best Regards,
Zhenhua
From:
meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org]
On Behalf Of hari prasad
Sent: Monday, May 19, 2014 3:54 AM
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] (no subject)
I am working with freescale 4240qds . I would like to build a sample application in my ubuntu 12.10 using usdpaa libraries. I am finding it difficult to install them . Can someone
help me out ?
regards,
Hari Prasad S R
7418234575