]> git.sur5r.net Git - u-boot/commitdiff
MIPS: add support for generating u-boot.elf
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 20 Apr 2017 18:36:27 +0000 (20:36 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 10 May 2017 14:16:09 +0000 (16:16 +0200)
Define PLATFORM_ELFFLAGS for MIPS in order to be able to generate u-boot.elf

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
arch/mips/config.mk

index dcd346002cab9ce63dff390260190015480ba96c..2c72c1553d64826af0c2216d34550546946804b8 100644 (file)
@@ -36,6 +36,8 @@ OBJCOPYFLAGS          += -O $(64bit-bfd)
 endif
 
 PLATFORM_CPPFLAGS += -D__MIPS__
+PLATFORM_ELFENTRY = "__start"
+PLATFORM_ELFFLAGS += -B mips $(OBJCOPYFLAGS)
 
 #
 # From Linux arch/mips/Makefile