summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-12-16 16:19:54 +0100
committerTom Rini <trini@konsulko.com>2024-01-11 21:19:25 -0500
commit6a8a23ccfb2486bc2f35f36c7eadeb1e13534055 (patch)
tree0de7103b14ae3ab31ff80cc2a786c1a806586794
parent99abd60d59e277f1b0853dfd6d4fdf6e8014ab30 (diff)
downloadu-boot-6a8a23ccfb2486bc2f35f36c7eadeb1e13534055.tar.gz
u-boot-6a8a23ccfb2486bc2f35f36c7eadeb1e13534055.tar.bz2
u-boot-6a8a23ccfb2486bc2f35f36c7eadeb1e13534055.zip
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>
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 9aeef02f9e..ed312cd0a4 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -26,7 +26,7 @@ obj-$(CONFIG_UT_TIME) += time_ut.o
obj-y += ut.o
ifeq ($(CONFIG_SPL_BUILD),)
-obj-$(CONFIG_$(SPL_)UT_BOOTSTD) += boot/
+obj-y += boot/
obj-$(CONFIG_UNIT_TEST) += common/
obj-y += log/
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o