From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 21 Apr 2009 07:59:56 -0400 Subject: [U-Boot] Kconfig menu layout In-Reply-To: <9e4733910904201712x68658ddfk3c18298deb82bd9f@mail.gmail.com> References: <8528E0E6-DEEC-49A4-9500-FC0B2C5C543B@kernel.crashing.org> <9e4733910904201501m7d3934fbje6b66acacfb7c306@mail.gmail.com> <9e4733910904201706u58387d5fod231dd4b8ac88d74@mail.gmail.com> <9e4733910904201712x68658ddfk3c18298deb82bd9f@mail.gmail.com> Message-ID: <49EDB53C.2050306@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jon Smirl wrote: > On Mon, Apr 20, 2009 at 8:06 PM, Jon Smirl wrote: >> On Mon, Apr 20, 2009 at 7:57 PM, Kumar Gala wrote: >>> On Apr 20, 2009, at 5:01 PM, Jon Smirl wrote: >>> >>>> On Mon, Apr 20, 2009 at 5:11 PM, Kumar Gala >>>> wrote: >>>>> In chatting w/Wolfgang on IRC he felt that we should maintain the >>>>> highlevel picking a board implies ARCH and other settings. >>>>> >>>>> However this seems like a lot of boards in one list.. To get a rough >>>>> order of magnitude MAKEALL is ~880 lines. How can we reduce this to >>>>> make it a bit more manageable? >>>> I'd arrange them by vendor. The vendor kconfig variable doesn't need >>>> to be used in code generation. >>> Assuming boards/ is grouped by vendor today: >>> >>> $ ls -1 board/ | wc -l >>> 269 >>> >>> still seems like a long list. >> Everyone will know the vendor of their board. You could alphabetize >> and break the list into groups. I think there are some entries in >> board/ that should be combined and moved into vendor subdirs. > > There are a lot of boards that could be moved into a vendor subdirs. I > suspect we have less than 100 vendors. Maybe as few as 60. > > Don't some of these ads board belong in the freescale dir? > jonsmirl at terra:/home/apps/u-boot/board$ ls *ads* -d > ads5121 adsvix fads mpc8260ads mpc8266ads mpc8540ads mpc8560ads > mx1ads mx31ads I suspect there are also quite a few boards that don't have a vendor attached to them or the vendor only has one or two boards in u-boot. I would create a "vendor" named "other" to lump the miscellaneous boards into. $ ls -1 board/*/*.mk | wc -l 211 OK, that says that, of the 269 directories, 58 are vendor subdirectories and 211 are boards that should be stuffed into either an existing vendor subdirectory, a new vendor subdirectory, or "other". (Interesting... vendors appear to have 202 boards, so we have almost as many vendor subdirectory boards as top level boards.) $ ls -1 board/*/*/*.mk | wc -l 202 Best regards, gvb