mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
test: sandbox: fix link error with do_ut_bloblist if BLOBLIST=n
Having CONFIG_OF_EMBED=y && CONFIG_BLOBLIST=n leads to the link
error:
```
ld: /tmp/ccwtRVty.ltrans28.ltrans.o:(.data.rel+0x4b0): undefined \
reference to `do_ut_bloblist'
```
Fixes: 6ea5df39e8
("test: Only enable bloblist test when supported")
Signed-off-by: Evgeny Bachinin <EABachinin@salutedevices.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
844f87366e
commit
6970eeb788
1 changed files with 2 additions and 0 deletions
|
@ -104,8 +104,10 @@ static struct cmd_tbl cmd_ut_sub[] = {
|
|||
"", ""),
|
||||
#endif
|
||||
#ifdef CONFIG_SANDBOX
|
||||
#if CONFIG_IS_ENABLED(BLOBLIST)
|
||||
U_BOOT_CMD_MKENT(bloblist, CONFIG_SYS_MAXARGS, 1, do_ut_bloblist,
|
||||
"", ""),
|
||||
#endif
|
||||
U_BOOT_CMD_MKENT(bootm, CONFIG_SYS_MAXARGS, 1, do_ut_bootm, "", ""),
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_ADDRMAP
|
||||
|
|
Loading…
Add table
Reference in a new issue