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

Graeme Russ graeme.russ at gmail.com
Sat Feb 19 23:00:30 CET 2011


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)?

>
> ive been doing this for years in the Blackfin arch (long before preprocessing
> the linker script was considered fashionable).

So it sounds like including config.h on les builds does not cause any issues.

Regards,

Graeme


More information about the U-Boot mailing list