[PATCH v2] common: splash_source: Don't compile ubifs splash cmd for SPL build

Tom Rini trini at konsulko.com
Tue Jan 30 02:54:09 CET 2024


On Wed, 24 Jan 2024 14:35:09 +0530, Devarsh Thakkar wrote:

> Don't compile ubifs splash mount command for SPL build as this command
> is not supported (and also not enabled) during SPL stage.
> 
> This fixes below compilation error, when CONFIG_CMD_UBIFS is enabled in
> defconfig along with splash screen enabled at SPL stage:
> 
> "aarch64-none-linux-gnu-ld.bfd: common/cli.o: in function `run_command':
> u-boot-next/u-boot/common/cli.c:51: undefined reference to
> `parse_string_outer'
> u-boot-next/u-boot/common/cli.c:51:(.text.run_command+0x10): relocation
> truncated to fit: R_AARCH64_JUMP26 against undefined symbol
> `parse_string_outer' make[2]: ***
> [u-boot-next/u-boot/scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
> make[1]: *** [u-boot-next/u-boot/Makefile:2053: spl/u-boot-spl] Error 2
> make[1]: Leaving directory 'u-boot-next/u-boot/out/a53' make: ***
> [Makefile:177: sub-make] Error 2"
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list