Re: kconfig: support option env="" [Was: kconfig: use $K64BIT to set 64BIT with all*config targets]
From: Sam Ravnborg
Date: Mon Jan 14 2008 - 00:59:05 EST
On Mon, Jan 14, 2008 at 04:49:48AM +0100, Roman Zippel wrote:
> Hi,
>
> On Sun, 6 Jan 2008, Sam Ravnborg wrote:
>
> > Please get back to me so we can finsih this patch and have it applied.
> > I will split the patch in two btw.
>
> I reworked the patch a little and split it into three.
Thanks Roman.
I will test and apply tonight.
Removal of KERNELVERSION in patch #3 is wrong as the frontend
uses KERNELVERSION to display the kernel version in their title.
I will drop the deletion before I apply the patch.
>
> > > + if (sym->flags & SYMBOL_AUTO)
> > > + sym->flags &= ~SYMBOL_WRITE;
> > > +
> >
> > Why is this change needed?
> > It is non-obvious to me so please explain and I will add a comment.
>
> Automatically generated symbols are not saved, this was previously not
> needed as they weren't in the menu structure.
OK
>
> > I did it like this:
> > menu_warn(current_entry,
> > "config %s: redefining environment symbol from '%s' to '%s'",
> > sym->name, env, sym2->name);
>
> I omitted the prefix, it's inconsistent with other warnings.
OK
Thanks,
Sam
--
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/