summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile1
-rw-r--r--test/cmd/Makefile1
-rw-r--r--test/cmd/command.c (renamed from test/command_ut.c)0
3 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index ff621344a03..48d8bc91ae6 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,7 +9,6 @@ obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
endif
obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
-obj-$(CONFIG_$(XPL_)CMDLINE) += command_ut.o
obj-y += dm/
obj-$(CONFIG_FUZZ) += fuzz/
ifndef CONFIG_SANDBOX_VPL
diff --git a/test/cmd/Makefile b/test/cmd/Makefile
index fe7a2165af2..6231a08186d 100644
--- a/test/cmd/Makefile
+++ b/test/cmd/Makefile
@@ -5,6 +5,7 @@
obj-y += cmd_ut_cmd.o
+obj-$(CONFIG_$(XPL_)CMDLINE) += command.o
ifdef CONFIG_HUSH_PARSER
obj-$(CONFIG_CONSOLE_RECORD) += test_echo.o
endif
diff --git a/test/command_ut.c b/test/cmd/command.c
index 2b8d28d7ae3..2b8d28d7ae3 100644
--- a/test/command_ut.c
+++ b/test/cmd/command.c