On Mon, Aug 24, 2020 at 02:15:52PM +0200, Belisko Marek wrote: > Hi, > > I'm using libgopid in yocto build system. I'm using kernel 5.6 and > would like to compile 1.5.1 libgpiod release. I have an issue that > configure phase fails that kernel headers <= 5.5. it's due totthe fact > that libc in yocto is compiled with 4.19 but I would like to use > headers from my kernel 5.6. Is there some easy way to tell configure > phase to search headers in some other directory? > I use: ./autogen.sh --oldincludedir=${incdir} --enable-tools --enable-tests make to build against my local custom linux build, where incdir points to the include directory of that build. Cheers, Kent.