mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08:00
6a8a23ccfb
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: 5999ea20fa
("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>
36 lines
904 B
Makefile
36 lines
904 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2012 The Chromium Authors
|
|
|
|
obj-y += test-main.o
|
|
|
|
ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
|
|
endif
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
|
|
obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
|
|
obj-y += dm/
|
|
obj-$(CONFIG_FUZZ) += fuzz/
|
|
ifndef CONFIG_SANDBOX_VPL
|
|
obj-$(CONFIG_UNIT_TEST) += lib/
|
|
endif
|
|
ifneq ($(CONFIG_HUSH_PARSER),)
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += hush/
|
|
endif
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
|
|
obj-$(CONFIG_UT_TIME) += time_ut.o
|
|
obj-y += ut.o
|
|
|
|
ifeq ($(CONFIG_SPL_BUILD),)
|
|
obj-y += boot/
|
|
obj-$(CONFIG_UNIT_TEST) += common/
|
|
obj-y += log/
|
|
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
|
|
else
|
|
obj-$(CONFIG_SPL_UT_LOAD) += image/
|
|
endif
|