In message <1274995116-8708-5-git-send-email...@denx.de> you wrote: > Instead of adding explicit build rules for each and every board to the > top level Makefile (which makes it grow and grow), we now provide a > simple default rule and extend the "mkconfig" script to read board > configurations from a plain text file (table), "boards.cfg". > > For simple boards it is now sufficient to add a single line of text to > the "boards.cfg" file, no changes to the top level Makefile are needed > any more. > > To make the table better readable, change the notation for unused > fields from "NULL" into "-". > > Signed-off-by: Wolfgang Denk <w...@denx.de> > Cc: Peter Tyser <pty...@xes-inc.com> > Cc: Mike Frysinger <vap...@gentoo.org> > --- > Note: > I had to disable the simple and very convenient rule > %: %_config > $(MAKE) > in the top level Makefile, because it caused each invocation > of "make" to fail with an error message: > > make: *** No rule to make target `Makefile_config'. Stop. > > Fixes welcome!
We're still looking for a clean solution for this problem... > > Makefile | 823 > ++---------------------------------------------------------- > boards.cfg | 356 ++++++++++++++++++++++++++ > mkconfig | 72 ++++-- > 3 files changed, 431 insertions(+), 820 deletions(-) > create mode 100644 boards.cfg Applied to "next" branch. 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: w...@denx.de Faith may be defined briefly as an illogical belief in the occurence of the improbable. - H. L. Mencken _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot