From: Heinrich Schuchardt Date: Sun, 23 Nov 2025 22:56:56 +0000 (+0100) Subject: test: don't test for CONFIG_UNIT_TEST twice X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8cefc0d4e80aa7bcfb06549f7df6926790a3f7;p=thirdparty%2Fu-boot.git test: don't test for CONFIG_UNIT_TEST twice Makefile already checks CONFIG_UNIT_TEST. There is point in checking it in test/Makefile again. Signed-off-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- 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/