From: Simon Glass Date: Mon, 5 Jul 2021 22:32:41 +0000 (-0600) Subject: test: Allow CONFIG_SPL_LOAD_FIT to be disabled X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=f093f8649c794866f5793f132f93c95335aea817;p=u-boot.git 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 --- 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