All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Weber <rjohnweber@gmail.com>
To: Eric Nelson <eric.nelson@boundarydevices.com>,
	 "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>
Subject: Re: Using a defconfig refers to an in-tree defconfig file
Date: Tue, 25 Feb 2014 23:37:42 -0600	[thread overview]
Message-ID: <530D7DA6.80302@gmail.com> (raw)
In-Reply-To: <530D14ED.9070705@boundarydevices.com>


On 2/25/14, 4:10 PM, Eric Nelson wrote:
> Hi John,
>
> On 02/25/2014 02:29 PM, John Weber wrote:
>> I thought I would bounce this one of the mailing list.
>>
>> Is there any reason why we shouldn't simply use the defconfig from the
>> kernel tree if appropriate?
>>
>> We would do this by the defconfig file in the recipe refer to a filename
>> in the kernel tree. For example, in the file
>> recipes-kernel/linux/linux-wandboard-3.10.17/defconfig would be a single
>> line:
>>
>>     use-kernel-config=wandboard_defconfig
>>
>
> In general, +1 from our end.
>
> The primary down-side is that the Yocto needs may differ from other
> distributions, but then again, any particular user will likely
> want to tweak a bit anyway.
Well, I thought all was good with this little trick, but as it turns out that is 
not the case.

I saw this being done within meta-ti kernel recipes and thought it was pretty 
nifty, but each recipe includes this file:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-kernel/linux/setup-defconfig.inc

So, this is a non-standard feature.  It would be nice to know what others think.

And, Otavio, I was too quick to be happy regarding our conversation today...  :-)

>
>> I've tested this already and it works.
>>
>> As many of the kernels being used here are managing their own defconfigs
>> in-tree, they are forced to keep the defconfig in the metadata in-sync.
> >
>> This would be a way to remove that requirement.
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>



  reply	other threads:[~2014-02-26  5:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 21:29 Using a defconfig refers to an in-tree defconfig file John Weber
2014-02-25 22:10 ` Eric Nelson
2014-02-26  5:37   ` John Weber [this message]
2014-02-26 13:04     ` Otavio Salvador

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=530D7DA6.80302@gmail.com \
    --to=rjohnweber@gmail.com \
    --cc=eric.nelson@boundarydevices.com \
    --cc=meta-freescale@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.