summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-06 01:32:41 +0300
committerSimon Glass <sjg@chromium.org>2021-07-21 19:27:34 +0300
commitf093f8649c794866f5793f132f93c95335aea817 (patch)
tree6f3999f8f9ac7471b25a8dece1385201c798c2d4 /test
parent504fb6699778c77be80498400ef6206204f69a6b (diff)
downloadu-boot-f093f8649c794866f5793f132f93c95335aea817.tar.xz
test: Allow CONFIG_SPL_LOAD_FIT to be disabled
At present if this is not enabled on a sandbox build, the build fails. Add a condition to avoid this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index a26e915e05..117839e584 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -3,7 +3,9 @@
# (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