From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 24 Sep 2007 23:22:00 +0200 Subject: [U-Boot-Users] [RFC] u-boot migration to kconfig In-Reply-To: <20070924093714.DAD5F2408B@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 24/09/07 11:37, ??Wolfgang Denk?? a ?crit?: > In message you wrote: >>>> arch/arm/config/ <- defconfig >>> >>> Please don't. Please add the default config files into the board >>> directory. That's IMHO where they logically belong. >> >> It's not in the board directory, it's in the arch directory. >> >> As example when you specify your architecture by ARCH=arm >> And do a make help only the sh default configuration can be accessible and >> show. > > I would like to avoid having board specific information scapttered > over several files *and* directories. So far, we know that everything > (except for a "few" #ifdef's ;-) is concentrated in board// and > include/configs/.h > > This is a *very* useful setup, me thinks. [Actually I' rather thae > the .h config file in the board driectpory, too, but that would > make the Makefile (as it is currently) too complicated. > > Best regards, > > Wolfgang Denk And the idea is not to have "specific information scapttered file *and* directories" but to organize board by arch and regroup specific information in a same tree. I think that a proof of concept may be more representative than speech, I propose you an example of reorganization that could be with my proposition. So I put publish git repository where I can show you it even if its not finished : http://uboot.jcrosoft.org/git Best Regards.