diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-10-31 08:38:06 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-11-05 09:11:31 -0700 |
commit | c961b1b594df3a9099afb425d46e820e07dfc315 (patch) | |
tree | a9458055c4edc0758b744a0a8a0e5a4734d869b3 /test/Makefile | |
parent | 690079767803c7406062dc074bbb1f8f0ff37fa0 (diff) | |
download | u-boot-c961b1b594df3a9099afb425d46e820e07dfc315.tar.gz u-boot-c961b1b594df3a9099afb425d46e820e07dfc315.tar.bz2 u-boot-c961b1b594df3a9099afb425d46e820e07dfc315.zip |
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 <asm/state.h>
^~~~~~~~~~~~~
Build the test only on the sandbox.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |