All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Javi Roman <javiroman@kernel-labs.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>, yocto@yoctoproject.org
Subject: Re: Custom kernel in Yocto/dylan branch.
Date: Wed, 12 Jun 2013 08:49:58 -0400	[thread overview]
Message-ID: <51B86E76.5000604@windriver.com> (raw)
In-Reply-To: <CACWQdqBr9H12g+CTG_yz9zuwgcvRyy1fz=vBxcPXTPQEa5oKEg@mail.gmail.com>

On 13-06-12 08:37 AM, Javi Roman wrote:
> Hi!
>
> Thank you for your help.
>
> Finally I've had to change the meta/classes/kernel.bbclass in order to
> fix the copy of defconfig to .config:
>
> -  if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
> + if [ -f "${WORKDIR}/defconfig" ]; then
>                  cp "${WORKDIR}/defconfig" "${B}/.config"
> fi
>

Right. That check is what prevents the fallback defconfig processing
from clobbering the .config which is generated by a linux-yocto* based
kernel configuration task (which gives you defconfig + fragments).

The point is that in the linux-yocto "configme" task essentially the
same thing that happens. The defconfig is fed into the configuration
as the baseline config, applied after a "allnoconfig" and then has
any fragments layered on top.

Which again leads me to my question about what exactly you were
seeing before that change in the linux build directory as the .config ?

Cheers,

Bruce

> I don't know the exact problem, and I'm trying to find out it.
>
> Cheers.
>
> Javi Roman
>
>
> On Tue, Jun 11, 2013 at 5:34 PM, Paul Eggleton
> <paul.eggleton@linux.intel.com> wrote:
>> On Tuesday 11 June 2013 16:47:53 Javi Roman wrote:
>>> With
>>>
>>> SRC_URI_append = "file://defconfig"
>>
>> Does your actual recipe have a leading space in the value? _append won't add
>> this for you so you have to do it explicitly.
>>
>> Cheers,
>> Paul
>>
>> --
>>
>> Paul Eggleton
>> Intel Open Source Technology Centre



      reply	other threads:[~2013-06-12 12:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11 14:18 Custom kernel in Yocto/dylan branch Javi Roman
2013-06-11 14:23 ` Bruce Ashfield
2013-06-11 14:47   ` Javi Roman
2013-06-11 15:21     ` Bruce Ashfield
2013-06-11 15:34     ` Paul Eggleton
2013-06-12 12:37       ` Javi Roman
2013-06-12 12:49         ` Bruce Ashfield [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=51B86E76.5000604@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=javiroman@kernel-labs.org \
    --cc=paul.eggleton@linux.intel.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.