Re: [PATCH] kbuld: Implement oldmodconfig

From: Eric W. Biederman
Date: Tue Apr 24 2012 - 06:33:47 EST


Michal Marek <mmarek@xxxxxxx> writes:

> Dne 24.4.2012 02:59, Eric W. Biederman napsal(a):
>>
>> While verifying that my user namespace patches are as complete as I
>> expect them to be I came a came across the need to build kernel
>> configurations with a few choice settings disabled and everything else
>> enabled. Adding a make oldmodconfig made generating those
>> configurations straight forward, as now I can set the options I care
>> about and the oldmodconfig can answering everything else for me in a
>> consistent way.
>
> Doesn't
>
> KCONFIG_ALLCONFIG=base.config make allmodconfig
>
> do the same thing? If not, the difference should be explained in the
> changelog.

The only difference apparently is that KCONFIG_ALLCONFIG... allmodconfig
does not show up in the help and is rather unintuitively named so I
totally missed it's presence.

If I get ambitious I might fix the bug that KCONFIG_ALLCONFIG uses some
other working directory when reading a file than the directory that make
was run in. Which is compounded by the fact that if KCONFIG_ALLCONFIG
can't find your file it treats it as if you had not specified the file
and does this all silently making it just about impossible to debug
without instrumenting up conf.c and confdata.c

So please feel free to drop my patch.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/