[U-Boot-Users] lds question

Ed Okerson eokerson at texasconnect.net
Mon Dec 8 02:03:44 CET 2003


The file u-boot.lds for the dbau1x00 boards contains the following line at
the top:

OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")

but to get the board to compile for little endian the line needs to be
changed to:

OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips")

but #ifdef doesn't seem to work in this file.  What I came up with was
acutally a hack in the top level config.mk file to use a different file I
called u-boot-l.lds.  Is there a better way?

Ed Okerson





More information about the U-Boot mailing list