[yocto] Build external module against Yocto kernel

John Mehaffey mehaf at mvista.com
Thu Jan 24 17:34:00 PST 2013


On Thu, Jan 24, 2013 at 12:10 PM, Bruce Ashfield <
bruce.ashfield at windriver.com> wrote:

> On 13-01-24 02:58 PM, John Mehaffey wrote:
>
>> On Wed, Jan 23, 2013 at 7:17 AM, Patrick Turley
>> <PatrickTurley at gamestop.com <mailto:PatrickTurley@**gamestop.com<PatrickTurley at gamestop.com>>>
>> wrote:
>>
>>
>>     On Jan 23, 2013, at 7:48 AM, Bruce Ashfield
>>     <bruce.ashfield at windriver.com <mailto:bruce.ashfield@**windriver.com<bruce.ashfield at 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 at windriver.com <mailto:bruce.ashfield@**windriver.com<bruce.ashfield at 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<bruce.ashfield at windriver.com>
>>     <mailto:bruce.ashfield@**windriver.com <bruce.ashfield at 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.
>>
>>
>> It sounds like you are building for a board with an ARCH other than i386
>> (the default).
>>
>>
> Ah yes .. it can definitely be this. I always have an ARCH on the
> command line when I invoke the oldconfig.
>
> In theory we shouldn't need the oldconfig at all either, just the arch
> on the build line with making the scripts.
>
> Cheers,
>
> Bruce
>

Well, the real question is why you have to set ARCH at all, given that it
is in the
.config (e.g. CONFIG_ARM=y), but that is a question for someone with more
cycles
to spare than I have.

-mehaf


>  You need to either run it in a devshell or use "make ARCH=<arch>
>> oldconfig".
>>
>> -mehaf
>>
>>
>>     ______________________________**_________________
>>     yocto mailing list
>>     yocto at yoctoproject.org <mailto:yocto at yoctoproject.org**>
>>     https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130124/91681086/attachment.html>


More information about the yocto mailing list