Building u-boot from git stops before building MLO

Hello,

I am trying to create an up to date u-boot.

I cloned the production u-boot git:

git clone -b v2022.04-bbb.io-am335x-am57xx Making sure you're not a bot!

I’m cross compiling on x86-64, Debian 12.5, with gcc-12-arm-linux-gnueabihf 12.2.0-14cross1

U-boot seems to get compiled correctly, but the procedure stops before MLO is created with these warnings/errors:

arm-linux-gnueabihf-gcc-12: warning: CONFIG_SPL_TEXT_BASE): linker input file unused because linking not done
UPD spl/./include/generated/generic-asm-offsets.h
arm-linux-gnueabihf-gcc-12: error: CONFIG_SPL_TEXT_BASE): linker input file not found: No such file or directory
make[1]: *** [scripts/Makefile.spl:526: spl/u-boot-spl.lds] Error 1
make[1]: *** Deleting file ‘spl/u-boot-spl.lds’
make[1]: *** Waiting for unfinished jobs…
make: *** [Makefile:2096: spl/u-boot-spl] Error 2

Am I doing something wrong?

Franco

Here’s the build log with Debian 12 (on armhf) pages (#12791798664) · Jobs · beagle-pkgs / u-boot-am335x-beagle · GitLab

Regards,