From 47cf465c25d4c121d4b2befc67aabfa044a52389 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 20 Apr 2017 20:36:27 +0200 Subject: [PATCH] MIPS: add support for generating u-boot.elf MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Define PLATFORM_ELFFLAGS for MIPS in order to be able to generate u-boot.elf Signed-off-by: Álvaro Fernández Rojas --- arch/mips/config.mk | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1