public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] Makefile: rework / cleanup
@ 2010-05-16  0:35 Wolfgang Denk
  2010-05-16  0:35 ` [U-Boot] [PATCH 1/3] Fix printing of make targets, simplify Makefile Wolfgang Denk
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: Wolfgang Denk @ 2010-05-16  0:35 UTC (permalink / raw)
  To: u-boot

The top level Makefile is growing and growing. Once, wehn we suppoted
only a few tens of boards, it was possible to implement board
configuration logic in the Makefile, but it quickly turned out that
this doesn't scale. Also, it is not really needed (at least not any
more) - we noch have mechanisnms in place, that allow for more
efficient code.

The following patch series is an attempt to start some cleanup and
reduce the size of the top level Makefile.  The solution is neither
perfect nor complete - there are quite a lot of boards that resist
such a cleanup and need more thorough cleanup.  But it's an initial
step, showing what could and should be done, which boards have
problems, and why this is the case.  Eentually this paves the ground
for a more friendly way to add new board configurations.

1/3:

    Fix printing of make targets, simplify Makefile

 Makefile |  740 ++++++++++++++++++++-----------------------------------------
 1 files changed, 243 insertions(+), 497 deletions(-)

2/3:

    Makefile: simplify handling of build target names

 Makefile |  774 ++++++++++++++++++++++++++++++--------------------------------
 mkconfig |    4 +-
 2 files changed, 379 insertions(+), 399 deletions(-)

3/3:

    Makefile: simplify handling of common board configurations

 Makefile | 1436 ++++++++++++++++++++++++++------------------------------------
 1 files changed, 607 insertions(+), 829 deletions(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-06-13 16:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-16  0:35 [U-Boot] [PATCH 0/3] Makefile: rework / cleanup Wolfgang Denk
2010-05-16  0:35 ` [U-Boot] [PATCH 1/3] Fix printing of make targets, simplify Makefile Wolfgang Denk
2010-05-16  0:35 ` [U-Boot] [PATCH 2/3] Makefile: simplify handling of build target names Wolfgang Denk
2010-05-19 23:40   ` Mike Frysinger
2010-05-16  0:35 ` [U-Boot] [PATCH 3/3] Makefile: simplify handling of common board configurations Wolfgang Denk
2010-05-18  9:05 ` [U-Boot] [PATCH 0/3] Makefile: rework / cleanup Detlev Zundel
2010-05-27 21:18 ` [U-Boot] [PATCH 0/4 v2] " Wolfgang Denk
2010-05-28  1:38   ` Thomas Chou
2010-05-28 12:19     ` Wolfgang Denk
2010-05-28 13:00       ` Scott McNutt
2010-05-28 14:16         ` Thomas Chou
2010-05-28 14:34       ` Thomas Chou
2010-05-27 21:18 ` [U-Boot] [PATCH 1/4 v2] Fix printing of make targets, simplify Makefile Wolfgang Denk
2010-06-13 16:08   ` Wolfgang Denk
2010-05-27 21:18 ` [U-Boot] [PATCH 2/4 v2] Makefile: simplify handling of build target names Wolfgang Denk
2010-06-13 16:08   ` Wolfgang Denk
2010-05-27 21:18 ` [U-Boot] [PATCH 3/4 v2] Makefile: simplify handling of common board configurations Wolfgang Denk
2010-06-13 16:09   ` Wolfgang Denk
2010-05-27 21:18 ` [U-Boot] [PATCH 4/4 v2] Makefile/mkconfig: read simple board configurations from boards.cfg Wolfgang Denk
2010-05-28  5:13   ` Peter Tyser
2010-05-28  5:32     ` Peter Tyser
2010-06-13 16:10   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox