From: Simon Glass <sjg@chromium.org>
Date: Mon, 9 Nov 2020 04:08:44 +0000 (-0700)
Subject: test: Only enable bloblist test when supported
X-Git-Tag: v2025.01-rc5-pxa1908~2062^2~28
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=6ea5df39e8d072fbacc1c99645b8df63923f744d;p=u-boot.git

test: Only enable bloblist test when supported

This test cannot work unless CONFIG_BLOBLIST is enabled. Update it to add
that condition.

Reported-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/test/Makefile b/test/Makefile
index d4323f9963..3c7bc8b549 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,7 +2,7 @@
 #
 # (C) Copyright 2012 The Chromium Authors
 
-ifneq ($(CONFIG_SANDBOX),)
+ifneq ($(CONFIG_$(SPL_)BLOBLIST),)
 obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
 endif
 obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o