[PATCH 10/21] bootm: test: Move test into boot

Simon Glass sjg at chromium.org
Mon Oct 28 13:41:15 CET 2024


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 test/Makefile           | 1 -
 test/boot/Makefile      | 1 +
 test/{ => boot}/bootm.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename test/{ => boot}/bootm.c (100%)

diff --git a/test/Makefile b/test/Makefile
index 283d97012cf..4366e495a15 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -4,7 +4,6 @@
 
 obj-y += test-main.o
 
-obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
 obj-y += dm/
diff --git a/test/boot/Makefile b/test/boot/Makefile
index d8eded20d4f..4b5e8a692c9 100644
--- a/test/boot/Makefile
+++ b/test/boot/Makefile
@@ -10,6 +10,7 @@ obj-$(CONFIG_EXPO) += expo.o
 obj-$(CONFIG_CEDIT) += cedit.o
 endif
 
+obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
 obj-$(CONFIG_MEASURED_BOOT) += measurement.o
 
 ifdef CONFIG_OF_LIVE
diff --git a/test/bootm.c b/test/boot/bootm.c
similarity index 100%
rename from test/bootm.c
rename to test/boot/bootm.c
-- 
2.43.0



More information about the U-Boot mailing list