summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2017-04-20 18:36:27 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2017-05-10 14:16:09 (GMT)
commit47cf465c25d4c121d4b2befc67aabfa044a52389 (patch)
treee73eed9e3440d2f83524c1e80dbdafdc40e99a7b /arch/mips
parent96ee1ada5dce6e193f68a2cd235cb3e8147178ec (diff)
downloadu-boot-47cf465c25d4c121d4b2befc67aabfa044a52389.tar.xz
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>
Diffstat (limited to 'arch/mips')
-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 dcd3460..2c72c15 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