[U-Boot-Users] [PATCH] fix compilation problem for mpc8349itx CFG_RAMBOOT

Wolfgang Denk wd at denx.de
Thu May 24 01:11:08 CEST 2007

In message <200705240013.48844 at sercond.localdomain> you wrote:
> A much better solution could be to have a macro-per-command.

I'm not convinced that this is "much better". Believe me, we
considered this before.

> In this case:
> - command xxx could be compiled in, if CONFIG_CMD_XXX is defined, and not>  
> compiled in if not defined;
> - it could be easy to define/undefine such macros in config

But you get problems when you want to configure a board with settings

* all commands except foo, bar and baz
* all default commands plus foo, but without baz

I guess then you will have to  list  up  all  commands  you  want  to
include  somewhere  -  either  in  the board onfig file or in another
header file.

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: wd at denx.de
O Staat!   Wie tief dir alle Besten fluchen!  Du bist kein Ziel.  Der
Mensch muß weiter suchen.                     - Christian Morgenstern

More information about the U-Boot mailing list