From: Simon Glass <sjg@chromium.org>
Date: Sat, 2 Nov 2024 19:36:46 +0000 (-0600)
Subject: bloblist: test: Move test into common
X-Git-Tag: v2025.01-rc5-pxa1908~122^2~19
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=82e6d79d9e044660b2a1310527292d48171c2463;p=u-boot.git

bloblist: test: Move test into common

This test doesn't belong at the top level. Move it into the common/
directory, to match its implementation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Rini <trini@konsulko.com> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
---

diff --git a/test/Makefile b/test/Makefile
index 145c952d2c..5d62b5c335 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -5,7 +5,6 @@
 obj-y += test-main.o
 
 ifneq ($(CONFIG_$(XPL_)BLOBLIST),)
-obj-$(CONFIG_$(XPL_)CMDLINE) += bloblist.o
 obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
 endif
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
diff --git a/test/common/Makefile b/test/common/Makefile
index 12c65f8c95..b6bff9201e 100644
--- a/test/common/Makefile
+++ b/test/common/Makefile
@@ -1,6 +1,9 @@
 # SPDX-License-Identifier: GPL-2.0+
 obj-y += cmd_ut_common.o
 obj-$(CONFIG_AUTOBOOT) += test_autoboot.o
+ifneq ($(CONFIG_$(XPL_)BLOBLIST),)
+obj-$(CONFIG_$(XPL_)CMDLINE) += bloblist.o
+endif
 obj-$(CONFIG_CYCLIC) += cyclic.o
 obj-$(CONFIG_EVENT_DYNAMIC) += event.o
 obj-y += cread.o
diff --git a/test/bloblist.c b/test/common/bloblist.c
similarity index 100%
rename from test/bloblist.c
rename to test/common/bloblist.c