From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Patrick Turley <PatrickTurley@gamestop.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Build external module against Yocto kernel
Date: Thu, 31 Jan 2013 23:50:52 -0500 [thread overview]
Message-ID: <510B49AC.405@windriver.com> (raw)
In-Reply-To: <5BEFD653CA8A8D47AA194ED30AB5968C3710B3@GV1HQPEX03.babgsetc.pvt>
On 13-01-23 10:17 AM, Patrick Turley wrote:
>
> On Jan 23, 2013, at 7:48 AM, Bruce Ashfield<bruce.ashfield@windriver.com>
> wrote:
>> On 13-01-23 12:34 AM, Patrick Turley wrote:
>>>
>>> On Jan 22, 2013, at 11:17 PM, Bruce Ashfield<bruce.ashfield@windriver.com> wrote:
>>>
>>>> On 13-01-23 12:14 AM, Patrick Turley wrote:
>>>>> On Jan 22, 2013, at 10:43 PM, Bruce Ashfield<bruce.ashfield@windriver.com> wrote:
>>>>>> On 13-01-22 9:26 PM, Patrick Turley wrote:
>>
>> Argh. I'll have to just run the commands myself and stop spamming the
>> list with ideas :) It's just a matter of making lkc accept the defaults
>> (i.e. you could also use allyesconfig, or allnoconfig) or even better
>> not trigger that config check at all.
>
> You're very kind to have spent so much time on my problem already. I look forward to hearing back.
I'm not sure if you are still interested in this topic, but I took
a few minutes to look into this more today .. just to understand
exactly what is happening.
It is what was discussed on the thread already, when you invoke
make scripts, there is an explicit dependency on auto.conf and
that is what triggers the make oldconfig if the .config is newer
than it is. Technically we are safe from this, assuming that the
.config and captured auto.conf match, and that auto.conf is in the
SDK.
The other way that oldconfig is triggered in my experience (and
testing today) is what we mentioned before. If your .config was
generated with ARCH=<foo> (even ARCH=i386 the default) and you then
execute 'make scripts', you'll trigger the oldconfig.
So to avoid it, you should execute your make scripts with ARCH=<your arch>
on the command line.
As for saving ARCH in the .config, it has been considered in the past,
but never implemented. Other elements such as CROSS_COMPILE are now
saved, but not ARCH= since it isn't directly used in the .config, it's
a Makefile construct.
Cheers,
Bruce
>
next prev parent reply other threads:[~2013-02-01 4:50 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 23:27 Build external module against Yocto kernel Patrick Turley
2013-01-15 17:07 ` Brian Lloyd
2013-01-15 17:09 ` Brian Lloyd
2013-01-15 17:54 ` Patrick Turley
2013-01-15 18:00 ` Bruce Ashfield
2013-01-15 18:26 ` Patrick Turley
2013-01-15 18:38 ` Bruce Ashfield
2013-01-15 19:16 ` Zhang, Jessica
2013-01-22 19:52 ` Patrick Turley
2013-01-16 17:11 ` Darren Hart
2013-01-21 21:21 ` Patrick Turley
2013-01-22 12:34 ` Christian Ege
2013-01-22 20:28 ` Patrick Turley
2013-01-22 20:34 ` Bruce Ashfield
2013-01-23 2:26 ` Patrick Turley
2013-01-23 4:43 ` Bruce Ashfield
2013-01-23 5:14 ` Patrick Turley
2013-01-23 5:17 ` Bruce Ashfield
2013-01-23 5:34 ` Patrick Turley
2013-01-23 13:48 ` Bruce Ashfield
2013-01-23 15:17 ` Patrick Turley
2013-01-24 19:58 ` John Mehaffey
2013-01-24 20:10 ` Bruce Ashfield
2013-01-25 1:34 ` John Mehaffey
2013-02-01 4:50 ` Bruce Ashfield [this message]
2013-02-02 0:48 ` Patrick Turley
2013-02-02 4:35 ` Brian Lloyd
2013-02-02 4:51 ` Bruce Ashfield
2013-02-02 4:48 ` Bruce Ashfield
2013-02-02 5:12 ` Brian Lloyd
2013-02-02 5:16 ` Bruce Ashfield
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=510B49AC.405@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=PatrickTurley@gamestop.com \
--cc=yocto@yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.