Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	<openembedded-core@lists.openembedded.org>
Cc: darren.hart@intel.com, Darren Hart <dvhart@linux.intel.com>
Subject: Re: [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig
Date: Tue, 7 Jan 2014 16:14:40 -0500	[thread overview]
Message-ID: <52CC6E40.5060608@windriver.com> (raw)
In-Reply-To: <52CC68F0.1030605@free-electrons.com>

On 14-01-07 03:52 PM, Alexandre Belloni wrote:
> On 07/01/2014 21:39, Bruce Ashfield wrote:
>
>>>
>>> As shown in my commit log, using yes '' | make oldconfig is still
>>> getting it wrong.
>>
>> But that was also my point. Since the target suggested in this
>> patch hasn't always existed (and hence has a kernel version binding),
>> why not use olddefconfig with this patch, and leave the functionality
>> closer to its existing behaviour ? We'd still have a kernel capability
>> binding, but we'd not have the =y converted to =m, and the default of
>> 'y' for new functionality would be maintained.
>>
>
> Hum, I'm not sure I follow you. oldnoconfig and olddefconfig are exactly
> the same. oldnoconfig has been renamed olddefconfig in 3.7 and
> oldnoconfig is an alias to olddefconfig since then. I'm using
> oldnoconfig only to be able to use that on a wider range of kernel versions.

I need to go run some of my own tests (and poke that the code). I'm
running out of time for the day, so need to have a closer look when
things slow down.

I'm not so much concerned about the differences between:

   defconfig -> savedefconfig -> config

and

   defconfig -> new kernel (oldconfig) -> config

vs

   defconfig -> new kernel (olddefconfig) -> config

i.e. What do the new config options offered by the new kernel
generate in the final .config between the two techniques.

Personally, I think the make target that is run should be configurable
via a variable (yes, I know we all hate new variables), but getting
this right for everyone is hard, and also not forcing everyone to write
their own kernel_do_configure() if they don't like this behaviour.

Bruce

>
>



  reply	other threads:[~2014-01-07 21:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 14:18 [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig Alexandre Belloni
2014-01-07 14:35 ` Martin Jansa
2014-01-07 15:20   ` Alexandre Belloni
2014-01-07 15:54     ` Martin Jansa
2014-01-07 18:11       ` Hart, Darren
2014-01-07 20:32         ` Alexandre Belloni
2014-01-07 21:32           ` Hart, Darren
2014-01-07 15:32 ` Bruce Ashfield
2014-01-07 20:27   ` Alexandre Belloni
2014-01-07 20:39     ` Bruce Ashfield
2014-01-07 20:52       ` Alexandre Belloni
2014-01-07 21:14         ` Bruce Ashfield [this message]
2014-01-29 13:10       ` Alexandre Belloni
2014-01-29 15:03         ` Bruce Ashfield
2014-02-06 13:48         ` Bruce Ashfield
2014-02-06 21:48         ` Bruce Ashfield
2014-02-07 14:02           ` Alexandre Belloni
2014-02-07 15:11             ` Bruce Ashfield
2014-02-07 15:43               ` Alexandre Belloni
2014-02-07 16:10                 ` 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=52CC6E40.5060608@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=darren.hart@intel.com \
    --cc=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox