summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-04-20 20:36:27 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-05-10 16:16:09 +0200
commit47cf465c25d4c121d4b2befc67aabfa044a52389 (patch)
treee73eed9e3440d2f83524c1e80dbdafdc40e99a7b
parent96ee1ada5dce6e193f68a2cd235cb3e8147178ec (diff)
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 <noltari@gmail.com>
-rw-r--r--arch/mips/config.mk2
1 files changed, 2 insertions, 0 deletions
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