u-boot.elf target requiures it to work. Signed-off-by: Jiaxun Yang <jiaxun.y...@flygoat.com> --- arch/xtensa/config.mk | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/xtensa/config.mk b/arch/xtensa/config.mk index b0809999e403..3ec936272f25 100644 --- a/arch/xtensa/config.mk +++ b/arch/xtensa/config.mk @@ -7,3 +7,6 @@ PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \ -ffunction-sections -fdata-sections LDFLAGS_FINAL += --gc-sections + +PLATFORM_ELFFLAGS += -B xtensa -O elf32-xtensa-le + -- 2.43.0