]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: splash_source: Don't compile ubifs splash cmd for SPL build
authorDevarsh Thakkar <devarsht@ti.com>
Wed, 24 Jan 2024 09:05:09 +0000 (14:35 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2024 19:50:05 +0000 (14:50 -0500)
commit54245af0ae30369170815bbc405c2f69f778bee1
tree3ac7c47d586223ab57f90d99a81f5db550859dd2
parent073f4f10b9941c7b3cec7db41c82ac00b811eaba
common: splash_source: Don't compile ubifs splash cmd for SPL build

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"

Fixes: eb9217dc03 ("common: Enable splash functions at SPL")
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
common/splash_source.c