Re: [yocto] Linking of external libraries in the recipe

2015-03-15 Thread Priya Agarwal
I wrote the following in squid_3.4.7.bbappend: DPENDS_append = usdpaa EXTRA_OECONF_append = LDFLAGS=-L/media/NewVolume/yocto/build_t4240qds_release/tmp/sysroots/t4240qds/usr/lib/ \ LIBS=-lusdpaa_dma -lusdpaa_dma_mem -lusdpaa_of -lusdpaa_fman -lusdpaa_qbman -lusdpaa_syscfg \

Re: [yocto] Linking of external libraries in the recipe

2015-03-15 Thread Khem Raj
On Sat, Mar 14, 2015 at 11:23 PM, Priya Agarwal priya_agar...@students.iitmandi.ac.in wrote: I wrote the following in squid_3.4.7.bbappend: DPENDS_append = usdpaa DEPENDS += usdpaa should be better here. EXTRA_OECONF_append =

[yocto] Linking of external libraries in the recipe

2015-03-12 Thread Priya Agarwal
Hello, I have taken a recipe for the package squid from OpenEmbedded.org and have built it along with the kernel image. Now I want to edit its recipe so that it will include some external libraries. But these libraries are the ones that are generated during the build. So how do I edit the recipe

Re: [yocto] Linking of external libraries in the recipe

2015-03-12 Thread Khem Raj
On Mar 12, 2015, at 5:30 AM, Priya Agarwal priya_agar...@students.iitmandi.ac.in wrote: Hello, I have taken a recipe for the package squid from OpenEmbedded.org and have built it along with the kernel image. Now I want to edit its recipe so that it will include some external

Re: [yocto] Linking of external libraries in the recipe

2015-03-12 Thread Benjamin Esquivel
On Thu, 2015-03-12 at 18:00 +0530, Priya Agarwal wrote: Hello, I have taken a recipe for the package squid from OpenEmbedded.org and have built it along with the kernel image. Now I want to edit its recipe so that it will include some external libraries. But these libraries are the

Re: [yocto] Linking of external libraries in the recipe

2015-03-12 Thread Priya Agarwal
If the libraries are already generated during the build it might be a case where you just DEPENDS_append = libraryproviderpackage at he .bbappend file I know where the libraries are but how do I make out which is the package. (The needed '.a' files are in

Re: [yocto] Linking of external libraries in the recipe

2015-03-12 Thread Priya Agarwal
Okay I think I understood. It has to be DEPENDS = usdpaa . Basically the recipe which is building the libraries is /meta-fsl-ppc/recipe-tools/usdpaa/usdpaa_git.bb. Thanks. On Thu, Mar 12, 2015 at 9:58 PM, Priya Agarwal priya_agar...@students.iitmandi.ac.in wrote: If the libraries are already