mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
29784d62ed
The macros in this file are a little confusing and we currently have no tests to check that they work as expected. Add some tests which check the macros in C code. Add a few tests which check that the build errors are generated correctly too, using buildman's -a option. Signed-off-by: Simon Glass <sjg@chromium.org>
33 lines
870 B
Makefile
33 lines
870 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2012 The Chromium Authors
|
|
|
|
obj-y += test-main.o
|
|
ifdef CONFIG_SPL_LOAD_FIT
|
|
obj-$(CONFIG_SANDBOX) += image/
|
|
endif
|
|
|
|
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
|
|
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) += boot/
|
|
obj-$(CONFIG_UNIT_TEST) += common/
|
|
obj-y += log/
|
|
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
|
|
endif
|