summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-10-14 16:47:57 -0400
committerTom Rini <trini@konsulko.com>2023-10-17 20:50:52 -0400
commitc56468a60d503aee45bc39542307a9d8e6cf5a40 (patch)
treea153960c49310a594b603969a18ffb4c58e19cb8 /test/Makefile
parenta24be84df9d8e31de40de0d2270470e19c784bd4 (diff)
downloadu-boot-c56468a60d503aee45bc39542307a9d8e6cf5a40.tar.gz
u-boot-c56468a60d503aee45bc39542307a9d8e6cf5a40.tar.bz2
u-boot-c56468a60d503aee45bc39542307a9d8e6cf5a40.zip
test: spl: Split tests up and use some configs
In order to make adding new spl unit tests easier, especially when they may have many dependencies, add some Kconfigs for the existing image test. Split it into the parts which are generic (such as callbacks) and the test-specific parts. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 178773647a..8e1fed2c28 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,9 +3,6 @@
# (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
@@ -30,4 +27,6 @@ obj-$(CONFIG_UNIT_TEST) += boot/
obj-$(CONFIG_UNIT_TEST) += common/
obj-y += log/
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
+else
+obj-$(CONFIG_SPL_UT_LOAD) += image/
endif