[U-Boot] How to use board specific #defines during building of linker script

Mike Frysinger vapier at gentoo.org
Sat Feb 19 19:14:49 CET 2011


On Thursday, February 17, 2011 16:52:14 Graeme Russ wrote:
> But why not just include config.h when building u-boot.lds?

why not include it yourself ?
#include <config.h>

ive been doing this for years in the Blackfin arch (long before preprocessing 
the linker script was considered fashionable).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110219/3bec8013/attachment.pgp 


More information about the U-Boot mailing list