Re: [yocto] bitbake with cmake recipe

2013-08-23 Thread Lukas Bulwahn
Everytime I build my system I get this error: ERROR: Function failed: do_configure (see /home/siguser/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/camera capture-0.1-r0/temp/log.do_configure.1410 for further information) ERROR: Logfile of failure stored in: /home/siguser/yocto/build/tm

Re: [yocto] bitbake with cmake recipe

2013-08-23 Thread Stefan Herbrechtsmeier
Am 22.08.2013 20:13, schrieb Zafrullah Syed: Hi all, I am newbie and I am learning stuff. I have a c++ code and CMakeLists.txt on Github which needs to be run with Cmake. I am trying to get that code embed into my build using my own recipe. This is my first experience with Cmake. I have no cl

Re: [yocto] [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot

2013-08-23 Thread Paul Barker
On 20 August 2013 18:02, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan I also got a successful boot with commit d996a1b91b2bf3dc06f4f4f822a56f4496457aa1 on the 3.8.y branch, it was HEAD at the time I checked it out and the Makefile says it's version 3.8.13. Perhaps we could add this as a

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Allow optional compression

2013-08-23 Thread Paul Barker
On 21 August 2013 23:41, Andrei Gherzan wrote: > On Wed, Aug 21, 2013 at 11:12 PM, Paul Barker wrote: >> >> Setting it to one of the other listed values will cause the SDIMG to >> be re-named. I think the code is as I intended, the documentation >> comment needs to be corrected though. >> > > You

Re: [yocto] [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi

2013-08-23 Thread Paul Barker
On 20 August 2013 18:02, Andrei Gherzan wrote: > +python __anonymous () { > +import re > + > +# Remove egl and gles2 configure options > +extra_oeconf = d.getVar('EXTRA_OECONF', True).split() > +take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1'] > +put_in = ['--dis

Re: [yocto] Build with Github source fails to connect

2013-08-23 Thread Paul Barker
On 20 August 2013 17:57, Zafrullah Syed wrote: > SRC_URI = > "git://git.github.com/zafrullahsyed/HelloWorld.git;protocol=git;tag=v0.1" Try just github.com instead of git.github.com and try protocol=http or protocol=https. Might have more luck with that. I use bitbucket myself so not entirely sure

Re: [yocto] [meta-raspberrypi][PATCH 04/11] rpi-config: Update to 2013-08-20 master's snapshot

2013-08-23 Thread Paul Barker
On 20 August 2013 18:02, Andrei Gherzan wrote: > Use git as package version. There is no package version for this script. > > Signed-off-by: Andrei Gherzan > --- > recipes-bcm/bootfiles/rpi-config_0.1.bb | 57 > --- > recipes-bcm/bootfiles/rpi-config_git.bb | 57

Re: [yocto] [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi

2013-08-23 Thread Martin Jansa
On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote: > On 20 August 2013 18:02, Andrei Gherzan wrote: > > +python __anonymous () { > > +import re > > + > > +# Remove egl and gles2 configure options > > +extra_oeconf = d.getVar('EXTRA_OECONF', True).split() > > +take_out = [

[yocto] linux-firmware: add only rtl8192cufw.bin from rtlwifi

2013-08-23 Thread Mårten Wikman
Hello, I want to install rtl8192cufw.bin from rtlwifi from linux-firmware but if I add linux-firmware to IMAGE_INSTALL_append it will of course install whole linux-firmware to my rootfs and bloats my rootfs image. What is the correct way to install rtl8192cufw.bin automatically to my rootfs?

Re: [yocto] linux-firmware: add only rtl8192cufw.bin from rtlwifi

2013-08-23 Thread Paul Eggleton
Hi Mårten, On Friday 23 August 2013 15:24:43 Mårten Wikman wrote: > I want to install rtl8192cufw.bin from rtlwifi from linux-firmware but > if I add linux-firmware to IMAGE_INSTALL_append it will of course > install whole linux-firmware to my rootfs and bloats my rootfs image. > > What is the co

Re: [yocto] How to build a custom ramdisk image

2013-08-23 Thread Khem Raj
On Aug 22, 2013, at 1:53 AM, Mercier Ivan wrote: > Hi everybody, > > I'm working on an yocto distrib with a freescale p3041 based board. > I would like to modify the root file system, like hostname,udev rules > and build my own ramdisk image. > I use to create my image by > $ bitbake fsl-image-

Re: [yocto] Building one package needs header from another

2013-08-23 Thread Paul D. DeRocco
> > On Tuesday 20 August 2013 16:06:54 Paul D. DeRocco wrote: > > > > I've been trying to figure out how the setup.py/setup.cfg > > (and distutils) > > stuff works. The setup.cfg file lists only one possible > > option for adding > > directories, which is basedirlist, but setting that to foo add

Re: [yocto] an error when adding "snappy" package

2013-08-23 Thread Reeve Yang
Hi Gary, the uri.inc is just my include file to point to local package storage location, and "native" extend I have taken it out. Yeah, I figured it out this is rpm specific. If I change the site-packages/smart/backends/rpm/pm.py, line 280 to: self.rpmout = reader(open(rpmoutpath)

[yocto] What symbol contains the current sysroot?

2013-08-23 Thread Paul D. DeRocco
In a do_compile script within a recipe, what symbol can I use to refer to the sysroot in effect during the execution? And whatever it is, is it a real environment variable, or some symbol that is substituted by bitbake before executing the script? -- Ciao, Paul D. DeRocco Paul

Re: [yocto] What symbol contains the current sysroot?

2013-08-23 Thread Nicolas Dechesne
On Sat, Aug 24, 2013 at 12:12 AM, Paul D. DeRocco wrote: > In a do_compile script within a recipe, what symbol can I use to refer to > the sysroot in effect during the execution? And whatever it is, is it a > real environment variable, or some symbol that is substituted by bitbake > before executi

Re: [yocto] [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi

2013-08-23 Thread Andrei Gherzan
On Fri, Aug 23, 2013 at 3:26 PM, Martin Jansa wrote: > On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote: > > On 20 August 2013 18:02, Andrei Gherzan wrote: > > > +python __anonymous () { > > > +import re > > > + > > > +# Remove egl and gles2 configure options > > > +extra_o

Re: [yocto] [meta-raspberrypi][PATCH 04/11] rpi-config: Update to 2013-08-20 master's snapshot

2013-08-23 Thread Andrei Gherzan
On Fri, Aug 23, 2013 at 2:06 PM, Paul Barker wrote: > On 20 August 2013 18:02, Andrei Gherzan wrote: > > Use git as package version. There is no package version for this script. > > > > Signed-off-by: Andrei Gherzan > > --- > > recipes-bcm/bootfiles/rpi-config_0.1.bb | 57 > -

Re: [yocto] [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot

2013-08-23 Thread Andrei Gherzan
On Fri, Aug 23, 2013 at 12:40 PM, Paul Barker wrote: > On 20 August 2013 18:02, Andrei Gherzan wrote: > > Signed-off-by: Andrei Gherzan > > I also got a successful boot with commit > d996a1b91b2bf3dc06f4f4f822a56f4496457aa1 on the 3.8.y branch, it was > HEAD at the time I checked it out and the

[yocto] [DYLAN] RPATH issue with qt5's qtwebkit

2013-08-23 Thread Trevor Woerner
Hi, When I try to include "qtwebkit" in my image from the "dylan" branch I end up with the following QA do_package_qa error [note that this does not happen with "master"]: ERROR: QA Issue: package qtwebkit contains bad RPATH /home/trevor/build/yocto/tmp/dylan/work/armv5te-poky-linux-gnueabi/qtweb

Re: [yocto] RFC: automated runtime testing on real hardware

2013-08-23 Thread Darren Hart
On Tue, 2013-08-13 at 12:00 +0100, Paul Eggleton wrote: > Hi all, > > As part of the feature development work for 1.5, we've recently added the > ability to easily define runtime tests written in python, replacing the old > shell-based imagetest.bbclass. However, for 1.5 this is limited to runni

[yocto] Installing yocto built qemu binaries and sdk toolchain to another machine

2013-08-23 Thread Elvis Dowson
Hi, What should I do to relocate and install the qemu binaries and sdk toolchain built using yocto, to another machine? The target machine has a fresh Ubuntu 12.04 installation, and I'd like to be able to run the Yocto generated qemu binaries inside it. Best regards, Elvis Dowson __