aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:47 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commitb550853b7daae54e13c473a0aabe08a0fa485d7a (patch)
tree9b718c521fc525ecd7df18d707393f9cf4112e95 /Makefile
parenta36d251b509d9ed64ec0fc0f0dafc5dc0748e734 (diff)
downloadu-boot-b550853b7daae54e13c473a0aabe08a0fa485d7a.zip
u-boot-b550853b7daae54e13c473a0aabe08a0fa485d7a.tar.gz
u-boot-b550853b7daae54e13c473a0aabe08a0fa485d7a.tar.bz2
test: Tidy up test building with SPL
We can in principle add tests to any SPL build, e.g. TPL or VPL. Update the build rules to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ccc87c3..3f28333 100644
--- a/Makefile
+++ b/Makefile
@@ -846,7 +846,7 @@ libs-y += drivers/usb/ulpi/
ifdef CONFIG_POST
libs-y += post/
endif
-libs-$(CONFIG_UNIT_TEST) += test/
+libs-$(CONFIG_$(SPL_TPL_)UNIT_TEST) += test/
libs-$(CONFIG_UT_ENV) += test/env/
libs-$(CONFIG_UT_OPTEE) += test/optee/
libs-$(CONFIG_UT_OVERLAY) += test/overlay/