test: Move env-test rule into test/

The Makefile rules for tests should be within test/Makefile so move the
'env' rule over.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2025-02-07 11:30:40 -07:00 committed by Tom Rini
parent ea29bad9cf
commit 81f4605c09
2 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,6 @@ ifdef CONFIG_POST
libs-y += post/
endif
libs-$(CONFIG_$(PHASE_)UNIT_TEST) += test/
libs-$(CONFIG_UT_ENV) += test/env/
libs-$(CONFIG_UT_OPTEE) += test/optee/
libs-$(CONFIG_UT_FDT_OVERLAY) += test/fdt_overlay/

View File

@ -19,6 +19,7 @@ obj-y += ut.o
ifeq ($(CONFIG_XPL_BUILD),)
obj-y += boot/
obj-$(CONFIG_UNIT_TEST) += common/
obj-$(CONFIG_UT_ENV) += env/
obj-y += log/
else
obj-$(CONFIG_SPL_UT_LOAD) += image/