
Dear Steven,
in message 3F9D0045.3040106@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