]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: build test/boot for CONFIG_UT_BOOTSTD=n
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 16 Dec 2023 15:19:54 +0000 (16:19 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jan 2024 02:19:25 +0000 (21:19 -0500)
commit6a8a23ccfb2486bc2f35f36c7eadeb1e13534055
tree0de7103b14ae3ab31ff80cc2a786c1a806586794
parent99abd60d59e277f1b0853dfd6d4fdf6e8014ab30
test: build test/boot for CONFIG_UT_BOOTSTD=n

Building sandbox_defconfig with

    CONFIG_UT_BOOTSTD=n
    CONFIG_MEASURMENT=y

results in an error:

    /usr/bin/ld: test/cmd_ut.o:(.data.rel.cmd_ut_sub+0x408):
    undefined reference to `do_ut_measurement'

Fixes: 5999ea20fa42 ("test: Add sandbox TPM boot measurement")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/Makefile