627988f9f9
Tests are easier to run in U-Boot proper. Running them in SPL does not add test coverage in most cases. Also some tests use features that are not available in SPL. Update the build rules to disable these tests in SPL. We still need test-main to be able to actually run SPL tests. Signed-off-by: Simon Glass <sjg@chromium.org>
21 lines
568 B
Makefile
21 lines
568 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2012 The Chromium Authors
|
|
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += compression.o
|
|
obj-y += dm/
|
|
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-$(CONFIG_UNIT_TEST) += lib/
|
|
obj-y += log/
|
|
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
|
|
endif
|