From: Wolfgang Denk Date: Tue, 08 Sep 2009 22:48:25 +0200 Subject: [U-Boot] [PATCH 01/10] mkconfig: parse top level makefile target to multiple config targets In-Reply-To: <20090908202143.GA26672@b07421-ec1.am.freescale.net> References: <73839B4A0818E747864426270AC332C3043F59F0@zmy16exm20.fsl.freescale.net> <20090904194248.43E2D832E8DE@gemini.denx.de> <73839B4A0818E747864426270AC332C30447ECAF@zmy16exm20.fsl.freescale.net> <20090907101822.3497D832E8DE@gemini.denx.de> <73839B4A0818E747864426270AC332C30447ECB9@zmy16exm20.fsl.freescale.net> <20090907105915.63F11832E8DE@gemini.denx.de> <73839B4A0818E747864426270AC332C30447ECC6@zmy16exm20.fsl.freescale.net> <20090907123822.3F0D5832E8DE@gemini.denx.de> <20090908153825.GA18061@b07421-ec1.am.freescale.net> <20090908174629.677E8832E8DE@gemini.denx.de> <20090908202143.GA26672@b07421-ec1.am.freescale.net> Message-ID: <20090908204825.BDB45832E8DE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Scott Wood, In message <20090908202143.GA26672@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