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>
diff --git a/Makefile b/Makefile
index a9cc235..3fe1873 100644
--- a/Makefile
+++ b/Makefile
@@ -893,7 +893,6 @@
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/
diff --git a/test/Makefile b/test/Makefile
index 47a07d6..17716ef 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -19,6 +19,7 @@
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/