mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
echoplayer: enable USE_ELF to generate ELF binaries
Make the final .echo binary an ELF file. Most STM32s have their SRAM divided in multiple non-contiguous regions and putting an ELF loader in the bootloader is basically the only reasonable way to load Rockbox on such a system. Change-Id: I818ef9fefe0d53b44cf64402ee1794ad261343eb
This commit is contained in:
parent
2e85027ae7
commit
d24a127f63
1 changed files with 5 additions and 0 deletions
5
tools/configure
vendored
5
tools/configure
vendored
|
|
@ -4337,6 +4337,11 @@ fi
|
|||
# generate debug symbols by default; these will be present in the
|
||||
# initial '.elf' file but will be stripped from the target binary.
|
||||
GCCOPTS="-g $GCCOPTS"
|
||||
# set page size to 4k to guarantee reasonable on-disk alignment,
|
||||
# which improves disk read speed; on ARM binutils defaults to 64k
|
||||
# which adds quite a bit of unnecessary padding.
|
||||
GCCOPTS="-Wl,-z,max-page-size=4096 $GCCOPTS"
|
||||
USE_ELF="yes"
|
||||
;;
|
||||
|
||||
280|surfansf28)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue