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

Wolfgang Denk wd at denx.de
Tue Sep 8 22:48:25 CEST 2009


Dear Scott Wood,

In message <20090908202143.GA26672 at b07421-ec1.am.freescale.net> you wrote:
> 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)?

Probably not a big problem, and maybe not even a practical problem.
But it is still ugly, and nothing I really like.

But as it seems that nobody else cares about this, and I don;t have
any better ideas either, I guess I should not block this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Once they go up, who cares where  they  come  down?  That's  not  my
department."                                       - Werner von Braun


More information about the U-Boot mailing list