Hello! I've been doing a lot of searching on the internet,but I can't seem to 
find anybody with my problem. I'm trying to add a recipe to my image and 
deliver it straight with the system. Everything goes fine, up until the recipe 
I created links to other libraries. I have dependencies to Qt4. I used the 
hello world example recipe, which I can bitbake successfully. My recipe is the 
following:


SUMMARY = "Simple helloworld application"
SECTION = "examples"
LICENSE = "Closed"
SRC_URI = "file://media/traffic/Yocto/src/elva/"
S = "/media/traffic/Yocto/src/elva/proj/src"
inherit cmake
EXTRA_OECMAKE = ""


The problem I'm having now is that, using the generated toolchain, cmake is 
looking at the wrong directories. The rootpath is also crooked when I print it 
out in my cmake project file:

CMAKE_FIND_ROOT_PATH:/media/traffic/Yocto/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080abluebox/tmp/sysroots/ls2080abluebox/media/traffic/Yocto/QorIQ-SDK-V2.0-20160527-yocto/build_ls2080abluebox/tmp/sysroots/x86_64-linux


What am I doing wrong? My target is arm. I can build my image fine without the 
recipe, so I'm thinking that there is a step I'm missing. Also when I export 
the SDK I can see that all the right libraries and findscripts are available 
(in the sysroot). But whenever I change my source, it still looks in the 
sysroot of the host system. Any help would be greatly appreciated!
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to