[yocto] How to include native bitstream dependency in recipe?

Natural Groove natural_groove at hotmail.fr
Thu Jul 17 06:11:12 PDT 2014


I tried to make a recipe that just installs the file (not sure if this is exactly what you meant) it does generate the ipk with all files at the right place

the recipe:

do_install() {
install -d ${D}${includedir} ${D}${includedir}/atsc ${D}${includedir}/dvb ${D}${includedir}/dvb/si ${D}${includedir}/mpeg ${D}${includedir}/mpeg/psi  ${D}${includedir}/ietf
install -m 0755 common.h ${D}${includedir}
install -m 0755 atsc/a52.h ${D}${includedir}/atsc
install -m 0755 dvb/ci.h dvb/si.h dvb/sim.h dvb/si_print.h dvb/sub.h ${D}${includedir}/dvb
install -m 0755 mpeg/aac.h mpeg/h264.h mpeg/mp2v.h mpeg/mpga.h mpeg/pes.h mpeg/psi.h mpeg/psi_print.h mpeg/ts.h ${D}${includedir}/mpeg
install -m 0755 ietf/rtp3551.h ietf/rtp.h ${D}${includedir}/ietf
cp -r mpeg/psi/ ${D}${includedir}/mpeg/
cp -r dvb/si/ ${D}${includedir}/dvb/

}

but after launching the compilation for the framework config.log says : configure:17806: checking bitstream/common.h usability
configure:17806: arm-angstrom-linux-gnueabi-gcc  -mfpu=vfpv3-d16 -march=armv7-a -mthumb-interwork -mfloat-abi=hard --sysroot=/home/rick/oe-core/build/out-eglibc/sysroots/colibri-t20 -std=gnu99 -c -O2 -pipe -g -feliminate-unused-debug-types -D_REENTRANT  conftest.c >&5
conftest.c:71:30: fatal error: bitstream/common.h: No such file or directory
compilation terminated.

> From: nicolas.dechesne at linaro.org
> Date: Thu, 17 Jul 2014 11:16:23 +0200
> Subject: Re: [yocto] How to include native bitstream dependency in recipe?
> To: natural_groove at hotmail.fr; yocto at yoctoproject.org
> 
> cc list. please let's have the discussion on the list
> 
> On Thu, Jul 17, 2014 at 11:10 AM, Natural Groove
> <natural_groove at hotmail.fr> wrote:
> > "biTStream is a set of C headers allowing a simpler access to binary
> > structures such as specified by MPEG, DVB, IETF, etc. "
> > (http://www.videolan.org/developers/bitstream.html)
> >
> > It does not have to be built (just make install)
> 
> ok. you still need a recipe for it, it will be a simple one that only
> install the .h files in the '-dev' package. then your other recipe
> will just need to DEPENDS on bitstream or bistream-native.
> 
> the .h files will be installed in the sysroot like any other package/recipes.


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140717/11a5b7a1/attachment.html>


More information about the yocto mailing list