From: Wolfgang Denk Date: Mon, 27 Oct 2003 11:16:55 +0100 Subject: [U-Boot-Users] Re: U-Boot for AT91RM9200DK In-Reply-To: Your message of "Mon, 27 Oct 2003 09:25:18 +0100." <3F9CD66E.8040701@imc-berlin.de> Message-ID: <20031027101700.8CFC6C59E4@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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