linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: justin <jlec@gentoo.org>
To: Silvio Fricke <silvio.fricke@gmail.com>
Cc: "Yann E . MORIN" <yann.morin.1998@free.fr>, linux-kbuild@vger.kernel.org
Subject: Re: [RFC] [PATCH] pkg-config default search pathes
Date: Mon, 11 Aug 2014 20:04:44 +0200	[thread overview]
Message-ID: <53E905BC.7040508@gentoo.org> (raw)
In-Reply-To: <CAHUN2TFXiV6o8SnW3TUBg6sVFDFUfQDKS5VhkPJfSJr=wfmKfQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

On 11/08/14 19:41, Silvio Fricke wrote:
> Hi Justin,
> 
> 
> 2014-08-11 19:23 GMT+02:00 justin <jlec@gentoo.org>:
>>
>> On 11/08/14 16:22, Silvio Fricke wrote:
>>> please review this patch.
>>> I'm a little bit unsure if this patch is technicaly state-of-the-art because
>>> kbuild does it right. The problem is that some cross-toolchains (on my box is
>>> yocto installed) change the pkg-config search pathes to do some package-config
>>> setups for cross compiling.
>>> But the init of the toolchain manipulates PKG_CONFIG_SYSROOT_DIR and
>>> PKG_CONFIG_PATH variables that a pkg-config call searches in the wrong place to
>>> find the package and gives back the wrong values which we use to test the
>>> availability of ncurses installation and this break the [x,g,menu]config.
>>>
>>> Some recommendations for this?
>>
>> What would happen in a real crosscompile case?
> 
> 
> In a real crosscompile case we don't have a "crosscompile" [x,g,menu]config.
> This step is ever made with the host-toolchain. Or I miss something here?
> 

You are right, no need for using crosscompile to configure the kernel.
Looks good to me.

Justin



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]

      reply	other threads:[~2014-08-11 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 14:22 [RFC] [PATCH] pkg-config default search pathes Silvio Fricke
2014-08-11 14:22 ` [RFC] [PATCH] kconfig: menuconfig: pkg-config should base upon default configuration Silvio Fricke
2014-08-22 11:07   ` Michal Marek
2014-08-11 17:23 ` [RFC] [PATCH] pkg-config default search pathes justin
2014-08-11 17:41   ` Silvio Fricke
2014-08-11 18:04     ` justin [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=53E905BC.7040508@gentoo.org \
    --to=jlec@gentoo.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=silvio.fricke@gmail.com \
    --cc=yann.morin.1998@free.fr \
    /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).