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

Graeme Russ graeme.russ at gmail.com
Sat Feb 19 23:41:42 CET 2011


On Sunday, February 20, 2011, Mike Frysinger <vapier at gentoo.org> wrote:
> 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

Yeah, I thought of that 5 minutes after hitting send :)

Regards,

Graeme


More information about the U-Boot mailing list