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

Mike Frysinger vapier at gentoo.org
Sat Feb 19 23:18:57 CET 2011


On Saturday, February 19, 2011 17:00:30 Graeme Russ wrote:
> On Sunday, February 20, 2011, Mike Frysinger <vapier at gentoo.org> wrote:
> > 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>
> 
> Um, maybe a stupid question, but where (without touching common code)?

in the linker script
-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/ec347c78/attachment.pgp 


More information about the U-Boot mailing list