Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-02-07 Thread Alexandre Belloni
Hi, So, I did the same tests with an x86_64 config and an ARM config. On 06/02/2014 at 16:48:52 -0500, Bruce Ashfield wrote : git branch --contains fbe98bb9ed3dae23e320c6b113e35f129538d14a * master grep -C 2 ^VERSION Makefile VERSION = 3 PATCHLEVEL = 14 SUBLEVEL = 0 I'm also on

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-02-07 Thread Bruce Ashfield
On 14-02-07 10:43 AM, Alexandre Belloni wrote: On 07/02/2014 at 10:11:18 -0500, Bruce Ashfield wrote : On 14-02-07 09:02 AM, Alexandre Belloni wrote: cp defconfig .config make oldnoconfig scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # yow-bashfiel-d3

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-02-07 Thread Bruce Ashfield
On 14-02-07 09:02 AM, Alexandre Belloni wrote: Hi, So, I did the same tests with an x86_64 config and an ARM config. On 06/02/2014 at 16:48:52 -0500, Bruce Ashfield wrote : git branch --contains fbe98bb9ed3dae23e320c6b113e35f129538d14a * master grep -C 2 ^VERSION Makefile VERSION = 3

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-02-06 Thread Bruce Ashfield
On 14-01-29 08:10 AM, Alexandre Belloni wrote: Hi Bruce, Any news on that ? And a update. I've been debugging some results that don't look right, so I have haven't followed up yet. I'm hopeful to get a consistent set of results by the end of the day. Bruce On Tue, Jan 07, 2014 at

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-02-06 Thread Bruce Ashfield
On 14-01-29 08:10 AM, Alexandre Belloni wrote: Hi Bruce, Any news on that ? work with me on the triple nesting of this response, but it should be easier to just reply to this email, and consolidate all the questions I had. This is also a bit long .. so apologies for that as well. I've been

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-29 Thread Alexandre Belloni
Hi Bruce, Any news on that ? On Tue, Jan 07, 2014 at 15:39:01 -0500, Bruce Ashfield wrote : On 14-01-07 03:27 PM, Alexandre Belloni wrote: On 07/01/2014 16:32, Bruce Ashfield wrote: On 14-01-07 09:18 AM, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-29 Thread Bruce Ashfield
On 14-01-29 08:10 AM, Alexandre Belloni wrote: Hi Bruce, Any news on that ? Sorry, I hadn't intended for this to sit with no reply for this lenght of time. I was tied up working with 3.13 and 3.14 yocto kerenls. I'm now in a position to run some migration tests and will follow up with the

[OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Alexandre Belloni
When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config CONFIG_USB_ETH=y CONFIG_USB_ETH_RNDIS=y CONFIG_USB_ETH_EEM=y $ make savedefconfig scripts/kconfig/conf --savedefconfig=defconfig Kconfig $ cp

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Martin Jansa
On Tue, Jan 07, 2014 at 03:18:37PM +0100, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config CONFIG_USB_ETH=y CONFIG_USB_ETH_RNDIS=y CONFIG_USB_ETH_EEM=y $ make

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Alexandre Belloni
On 07/01/2014 15:35, Martin Jansa wrote: On Tue, Jan 07, 2014 at 03:18:37PM +0100, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config CONFIG_USB_ETH=y

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Bruce Ashfield
On 14-01-07 09:18 AM, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config CONFIG_USB_ETH=y CONFIG_USB_ETH_RNDIS=y CONFIG_USB_ETH_EEM=y $ make savedefconfig

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Martin Jansa
On Tue, Jan 07, 2014 at 04:20:37PM +0100, Alexandre Belloni wrote: On 07/01/2014 15:35, Martin Jansa wrote: On Tue, Jan 07, 2014 at 03:18:37PM +0100, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Hart, Darren
On Tue, 2014-01-07 at 16:54 +0100, Martin Jansa wrote: On Tue, Jan 07, 2014 at 04:20:37PM +0100, Alexandre Belloni wrote: On 07/01/2014 15:35, Martin Jansa wrote: On Tue, Jan 07, 2014 at 03:18:37PM +0100, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Alexandre Belloni
On 07/01/2014 16:32, Bruce Ashfield wrote: On 14-01-07 09:18 AM, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config CONFIG_USB_ETH=y CONFIG_USB_ETH_RNDIS=y

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Alexandre Belloni
On 07/01/2014 19:11, Hart, Darren wrote: Please check for the functionality, not KERNEL_VERSION. The KERNEL_VERSION doesn't allow for backports and such which might add this ability. Grep the Makefile for the target, for example, if the above OR statement isn't adequate. I guess the OR is

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Bruce Ashfield
On 14-01-07 03:27 PM, Alexandre Belloni wrote: On 07/01/2014 16:32, Bruce Ashfield wrote: On 14-01-07 09:18 AM, Alexandre Belloni wrote: When using a defconfig, using yes '' | make oldconfig may not result in the correct configuration being set. For example: $ grep USB_ETH .config

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Alexandre Belloni
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

Re: [OE-core] [PATCH] kernel: use oldnoconfig instead of yes '' | make oldconfig

2014-01-07 Thread Hart, Darren
On Tue, 2014-01-07 at 21:32 +0100, Alexandre Belloni wrote: On 07/01/2014 19:11, Hart, Darren wrote: Please check for the functionality, not KERNEL_VERSION. The KERNEL_VERSION doesn't allow for backports and such which might add this ability. Grep the Makefile for the target, for