[PATCH 04/19] test: don't test for CONFIG_UNIT_TEST twice
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Nov 23 23:56:56 CET 2025
Makefile already checks CONFIG_UNIT_TEST.
There is point in checking it in test/Makefile again.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
test/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/Makefile b/test/Makefile
index f7ab9a36b2a..5676bd35963 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -9,7 +9,7 @@ obj-$(CONFIG_$(PHASE_)CMDLINE) += cmd_ut.o
obj-y += dm/
obj-$(CONFIG_FUZZ) += fuzz/
ifndef CONFIG_SANDBOX_VPL
-obj-$(CONFIG_UNIT_TEST) += lib/
+obj-y += lib/
endif
ifneq ($(CONFIG_HUSH_PARSER),)
obj-$(CONFIG_$(PHASE_)CMDLINE) += hush/
@@ -19,7 +19,7 @@ obj-y += ut.o
ifeq ($(CONFIG_XPL_BUILD),)
obj-y += boot/
-obj-$(CONFIG_UNIT_TEST) += common/
+obj-y += common/
obj-$(CONFIG_UT_ENV) += env/
obj-$(CONFIG_UT_FDT_OVERLAY) += fdt_overlay/
obj-y += log/
--
2.51.0
More information about the U-Boot
mailing list