]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bloblist: test: Move test into common
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:46 +0000 (13:36 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 17:56:01 +0000 (11:56 -0600)
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
test/Makefile
test/common/Makefile
test/common/bloblist.c [moved from test/bloblist.c with 100% similarity]

index 145c952d2c3cce08338a8fd8b376caa929c667fc..5d62b5c3357c5115018b615069852f26f230c09c 100644 (file)
@@ -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/
index 12c65f8c9514004400b6c2130454da31b5d1b74e..b6bff9201ec59b854590b366380c6c630fab33f4 100644 (file)
@@ -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
similarity index 100%
rename from test/bloblist.c
rename to test/common/bloblist.c