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]>
