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

Wolfgang Denk wd at denx.de
Mon Oct 27 12:53:55 CET 2003


Dear Steven,

in message <3F9D0045.3040106 at imc-berlin.de> you wrote:
> 
> > 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.
> 
> Hmm. board/trab/config.mk contains such lines.

board/trab/config.mk does NOT include the noard config file (which in
this case would be include/configs/trab.h).

> If it does not work anyway the maintainer should remove it as not to send other 
> down the wrong path! ;-)

board/trab/config.mk does work.

> Or is the trick done by the line
> 
> sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp

This is no trick at all. It's just one of the possible ways  to  pass
config options into config.mk

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
Lack of skill dictates economy of style.                - Joey Ramone




More information about the U-Boot mailing list