Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc)

Jan Engelhardt
2008-04-30T14:43:13Z

On Wednesday 2008-04-30 08:35, Sam Ravnborg wrote:
>>
>> 'newconfig' sounds to me like you're creating a new config; the exact
>> opposite of what it does. I'd suggest 'listnewconfig' or some such thing.
>
>listnewconfig is better - will use that.

Mh, newconfig sounds like make K=/dev/null oldconfig/defconfig

>> Sounds good, I highly prefer specifying the config via env variable
>> rather than embedded in the target (ie, 'make olpc_defconfig').
>I will try to come up with some simple algorithm to locate the file.
>I guess something like:
>
>a) Try in local dir with name supplied
>b) If filname does not start with '/' try in arch/$ARCH/configs/*
>c) If filname does not start with '/' try in arch/$ARCH/configs/*_defconfig

Scan ./ before arch/$ARCH/configs/

>If filename is prefixed .gz unpack it

/proc/.gzconfig? :-D (scnr)