Re: [PATCH v2] x86: add support for CONFIG_REMAKE_ELF

Simon Glass <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <CAFLszTiJY52v3rnEQG=mLSgKEK4N7emCV5v_g4WS4ifJji6Cnw@mail.gmail.com>
On 2026-07-23T00:52:03, Jamie.Gibbons--- via U-Boot
<[email protected]> wrote:
> x86: add support for CONFIG_REMAKE_ELF
>
> x86 builds with CONFIG_REMAKE_ELF fail as the following:
> ...
> u-boot-elf.o: file not recognized: file format not recognized
> ...
>
> Fix objcopy/ld parameters for x86 to enable CONFIG_REMAKE_ELF
> configurations in both SPL and U-Boot proper builds.
>
> Add a new 'PLATFORM_ELFLDFLAGS' make variable for injecting
> proper linker arguments when u-boot.elf is requested.
>
> Signed-off-by: Denis Mukhin <[email protected]>
>
> Makefile           | 2 ++
>  arch/x86/config.mk | 3 +++
>  2 files changed, 5 insertions(+)

Reviewed-by: Simon Glass <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.