Thread (39 messages) 39 messages, 6 authors, 2011-08-11

Re: [PATCH 2/2] Enable 'make CONFIG_FOO=y oldconfig'

From: Arnaud Lacombe <hidden>
Date: 2011-08-09 15:26:52
Also in: lkml

Possibly related (same subject, not in this thread)

Hi,

On Tue, Aug 9, 2011 at 10:14 AM, Michal Marek [off-list ref] wrote:
On 31.7.2011 02:05, Arnaud Lacombe wrote:
quoted
Hi,

On Sat, Jul 30, 2011 at 7:53 PM, H. Peter Anvin[off-list ref]  wrote:
quoted
On 07/30/2011 04:44 PM, Arnaud Lacombe wrote:
quoted
Beside that, the one thing I dislike with your patch is that it is
unconditional and global to all symbols, and you have no way to forbid
the environment to override a value.
Why????
Because kconfig might not be ran exclusively from a fully controlled
and restricted environment ? Not to mention that it is used by other
people than the linux kernel folks.
Well, it has always been possible to trick kbuild (not kconfig) into
accepting CONFIG_* options from environment, because unset kconfig options
in auto.conf are not seen by make. Of course this is completely fragile,
because there is no dependency checking and such variables are only seen by
make and do not appear in autoconf.h. So a patch that teaches kconfig to
read options from the environment would actually make some (albeit currently
"illegal") use cases work correctly :).
kconfig can already set symbol value from the environment. The only
limitation I can see is that it is not optional and require an
explicit environment variable name.

 - Arnaud
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help