From: Álvaro Fernández Rojas Date: Thu, 20 Apr 2017 18:36:27 +0000 (+0200) Subject: MIPS: add support for generating u-boot.elf X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=47cf465c25d4c121d4b2befc67aabfa044a52389;p=u-boot.git MIPS: add support for generating u-boot.elf Define PLATFORM_ELFFLAGS for MIPS in order to be able to generate u-boot.elf Signed-off-by: Álvaro Fernández Rojas --- diff --git a/arch/mips/config.mk b/arch/mips/config.mk index dcd346002c..2c72c1553d 100644 --- a/arch/mips/config.mk +++ b/arch/mips/config.mk @@ -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