[PATCH 2/2] test: Only enable bloblist test when supported
Simon Glass
sjg at chromium.org
Mon Nov 9 05:08:44 CET 2020
This test cannot work unless CONFIG_BLOBLIST is enabled. Update it to add
that condition.
Reported-by: Kever Yang <kever.yang at rock-chips.com>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
test/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/Makefile b/test/Makefile
index 1c930b31485..cdbfa61cda3 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,7 +2,9 @@
#
# (C) Copyright 2012 The Chromium Authors
+ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
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
--
2.29.2.222.g5d2a92d10f8-goog
More information about the U-Boot
mailing list