summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 09:56:47 +0300
committerTom Rini <trini@konsulko.com>2022-05-02 16:58:13 +0300
commitb550853b7daae54e13c473a0aabe08a0fa485d7a (patch)
tree9b718c521fc525ecd7df18d707393f9cf4112e95 /scripts
parenta36d251b509d9ed64ec0fc0f0dafc5dc0748e734 (diff)
downloadu-boot-b550853b7daae54e13c473a0aabe08a0fa485d7a.tar.xz
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 'scripts')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 6ad82cecfb..30672a6117 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -109,7 +109,7 @@ libs-y += dts/
libs-y += fs/
libs-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/
libs-$(CONFIG_SPL_NET) += net/
-libs-$(CONFIG_SPL_UNIT_TEST) += test/
+libs-$(CONFIG_$(SPL_TPL_)UNIT_TEST) += test/
head-y := $(addprefix $(obj)/,$(head-y))
libs-y := $(addprefix $(obj)/,$(libs-y))