diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-30 00:56:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-02 09:58:13 -0400 |
commit | b550853b7daae54e13c473a0aabe08a0fa485d7a (patch) | |
tree | 9b718c521fc525ecd7df18d707393f9cf4112e95 /Makefile | |
parent | a36d251b509d9ed64ec0fc0f0dafc5dc0748e734 (diff) | |
download | u-boot-b550853b7daae54e13c473a0aabe08a0fa485d7a.tar.gz |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/ |