Re: [yocto] [EXTERNAL] Re: Missing dependencies in recipe-sysroot

2018-12-04 Thread Burton, Ross
No, you just need to write your makefile correctly. libgpiod has a pkg-config file, so instead of hard-coding paths like /usr/lib (because you don't know that's where it is installed) just use pkg-config to get the flag: gcc $(pkg-config --cflags --libs libgpiod) ... Ross On Tue, 4 Dec 2018 at 1

Re: [yocto] [EXTERNAL] Re: Missing dependencies in recipe-sysroot

2018-12-04 Thread Georgi Georgiev
OK but. I can use SDKTARGETSYSROOT in my makefile but then it will fail in yocto...So I can't have one makefile for yocto and command line build...I found one tread for similar issue and I will take a look in poky/meta/conf/bitbake.conf tomorrow. Georgi -Original Message- From: Burton

Re: [yocto] [EXTERNAL] Re: Missing dependencies in recipe-sysroot

2018-12-04 Thread Burton, Ross
On Tue, 4 Dec 2018 at 14:02, Georgi Georgiev wrote: > LIB := -L/usr/lib ^ don't do that. That's not where the libraries are. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] [EXTERNAL] Re: Missing dependencies in recipe-sysroot

2018-12-04 Thread Georgi Georgiev
Thank you Ross, Compilation issues are gone...Only one DEPENDS appeared to be enough :-). Thank you again But can give me a hand to the following because now I have QA issues during my "corrupted" makefile. Is there any way to pass this --sysroot=//recipe-sysroot before -L/usr/lib. Eg somehow the