Skip to contentSkip to conversation

mach-imx: bootaux: fix building with disabled bootelf

PATCH New [email protected] 1 participant 1 message Sep 23, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mach-imx: bootaux: fix building with disabled bootelf

Quoted 8 lines

If CMD_ELF disabled and IMX_BOOTAUX enabled, the u-boot building ends up with a linking error [1]. Select LIB_ELF to fix the building issue.
[1]
ld: /tmp/ccaF1rpv.ltrans0.ltrans.o: in function `do_bootaux':
arch/arm/mach-imx/imx_bootaux.c:108: undefined reference to `valid_elf_image'

Fixes c0f037f6a2a ("mach-imx: bootaux: elf firmware support")

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================