[U-Boot] [PATCH 01/10] mkconfig: parse top level makefile target to multiple config targets

Scott Wood scottwood at freescale.com
Tue Sep 8 22:21:43 CEST 2009


On Tue, Sep 08, 2009 at 07:46:29PM +0200, Wolfgang Denk wrote:
> > NAND and 36BIT are orthogonal options -- what is wrong with the previous
> > suggestion of splitting them in mkconfig?
> 
> I don't like this idea as it will pollute the namespace by a number of
> uncontrolled auto-generated #defines, which may be a nightmare to
> debug because you quickly forget where such definitions might be
> coming from - after you realize that they are actually set because you
> cannot find them in any board-related config or source file.

Would this still be a big problem if the auto-generated defines were put
in their own namespace (such as the CONFIG_MK_* that you suggested)?

-Scott


More information about the U-Boot mailing list