From: Scott Wood Date: Tue, 8 Sep 2009 15:21:43 -0500 Subject: [U-Boot] [PATCH 01/10] mkconfig: parse top level makefile target to multiple config targets In-Reply-To: <20090908174629.677E8832E8DE@gemini.denx.de> 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> Message-ID: <20090908202143.GA26672@b07421-ec1.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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