[Buildroot] [PATCH v1 1/1] board/arm-trusted-firmware: override BL31 environment variable error

Luca Ceresoli luca.ceresoli at bootlin.com
Wed Sep 10 07:56:29 UTC 2025


On Wed, 10 Sep 2025 09:50:57 +0200
Luca Ceresoli via buildroot <buildroot at buildroot.org> wrote:

> On Fri, 5 Sep 2025 13:20:57 +0100
> Neal Frager <neal.frager at amd.com> wrote:
> 
> > When building the arm-trusted-firmware, if the host environment has a value
> > configured in the BL31 variable such as the following:
> > 
> > export BL31=/tmp/bl31.elf
> > 
> > This will cause the build of the bl31.elf to be skipped leading to the
> > following build error:
> > 
> > make[1]: Nothing to be done for 'bl31'.
> > And then:
> > readelf: Error: './output/build/arm-trusted-firmware-custom/build/versal/release/bl31/bl31.elf': No such file
> > 
> > To fix this, clear the BL31 variable in the MAKE_OPTS, so that building the
> > arm-trusted-firmware will build regardless of the host environment.
> > 
> > Signed-off-by: Neal Frager <neal.frager at amd.com>  
> 
> Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
> 

Dang. Messed up with my mailer. Please ignore this R-by!

Apologies,
Luca

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list