From: Heinrich Schuchardt Date: Sat, 31 Oct 2020 07:38:06 +0000 (+0100) Subject: test: test/bloblist.c depends on asm/state.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c961b1b594df3a9099afb425d46e820e07dfc315;p=u-boot.git test: test/bloblist.c depends on asm/state.h Building test/bloblist.c fails for non sandbox devices: test/bloblist.c:10:10: fatal error: asm/state.h: No such file or directory #include ^~~~~~~~~~~~~ Build the test only on the sandbox. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/test/Makefile b/test/Makefile index 1c930b3148..39ae04a3d2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,7 +2,9 @@ # # (C) Copyright 2012 The Chromium Authors +ifneq ($(CONFIG_SANDBOX),) obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o +endif obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/ obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o