
Jon Smirl wrote:
On Mon, Apr 20, 2009 at 8:06 PM, Jon Smirl jonsmirl@gmail.com wrote:
On Mon, Apr 20, 2009 at 7:57 PM, Kumar Gala galak@kernel.crashing.org wrote:
On Apr 20, 2009, at 5:01 PM, Jon Smirl wrote:
On Mon, Apr 20, 2009 at 5:11 PM, Kumar Gala galak@kernel.crashing.org 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@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