[U-Boot-Users] Re: U-Boot for AT91RM9200DK

Wolfgang Denk wd at denx.de
Mon Oct 27 11:16:55 CET 2003

In message <3F9CD66E.8040701 at imc-berlin.de> you wrote:
> Ok. Ok. Maybe the better way would be:
> RICKs_RAM_config:          unconfig
>          @./mkconfig $(@:_config=) arm at91rm9200 RICKSBOARDS
>          @echo '#define TEXT_BASE 0xFOOBAR' >>include/config.h;
>          @echo '#undef CONFIG_INIT_CRITICAL' >>include/config.h;
> and then
> ifndef TEXT_BASE
> endif
> in board/at91rm9200dk/config.mk.
> Ok?

No, this will not  work,  as  include/config.h  is  a  C  heaer  file
following  C  preprocessor syntax, while board/at91rm9200dk/config.mk
is included by a Makefile and thus follows Makefile syntax.

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Whoever undertakes to set himself up as a judge of Truth  and  Know-
ledge is shipwrecked by the laughter of the gods."  - Albert Einstein

More information about the U-Boot mailing list