projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ee1ad
)
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)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/arch/mips/config.mk
b/arch/mips/config.mk
index dcd346002cab9ce63dff390260190015480ba96c..2c72c1553d64826af0c2216d34550546946804b8 100644
(file)
--- 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