]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Allow CONFIG_SPL_LOAD_FIT to be disabled
authorSimon Glass <sjg@chromium.org>
Mon, 5 Jul 2021 22:32:41 +0000 (16:32 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:34 +0000 (10:27 -0600)
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>
test/Makefile

index a26e915e0508974fb31f0967594a7b33166949e0..117839e58473bfa95a07d7fa0c1e2df24e77a41e 100644 (file)
@@ -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