linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* looking for recent headers in different path in configure
@ 2020-08-24 12:15 Belisko Marek
  2020-08-25  0:02 ` Kent Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Belisko Marek @ 2020-08-24 12:15 UTC (permalink / raw)
  To: linux-gpio

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?

Thanks and regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: looking for recent headers in different path in configure
  2020-08-24 12:15 looking for recent headers in different path in configure Belisko Marek
@ 2020-08-25  0:02 ` Kent Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Gibson @ 2020-08-25  0:02 UTC (permalink / raw)
  To: Belisko Marek; +Cc: linux-gpio

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-25  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24 12:15 looking for recent headers in different path in configure Belisko Marek
2020-08-25  0:02 ` Kent Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).