linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kent Gibson <warthog618@gmail.com>
To: Belisko Marek <marek.belisko@gmail.com>
Cc: linux-gpio@vger.kernel.org
Subject: Re: looking for recent headers in different path in configure
Date: Tue, 25 Aug 2020 08:02:30 +0800	[thread overview]
Message-ID: <20200825000230.GA30038@sol> (raw)
In-Reply-To: <CAAfyv34GFWhbjwg-jtnYr5XpjfXJnguDZFDd5_jc4cJboUMUEQ@mail.gmail.com>

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.


      reply	other threads:[~2020-08-25  0:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 12:15 looking for recent headers in different path in configure Belisko Marek
2020-08-25  0:02 ` Kent Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200825000230.GA30038@sol \
    --to=warthog618@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=marek.belisko@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).