
27 Oct
2003
27 Oct
'03
11:16 a.m.
In message 3F9CD66E.8040701@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 TEXT_BASE = 0xBLABLUB 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@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