summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-07 11:30:40 -0700
committerTom Rini <trini@konsulko.com>2025-02-11 20:10:58 -0600
commit81f4605c09d5662afa08cb5db8201d088ca476ab (patch)
tree0701f470a5849f88b9e0c7ce34f8b81547fef391
parentea29bad9cff2fd88d172276b58859f01649fe444 (diff)
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>
-rw-r--r--Makefile1
-rw-r--r--test/Makefile1
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a9cc235b6da..3fe1873f5d8 100644
--- a/Makefile
+++ b/Makefile
@@ -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/
diff --git a/test/Makefile b/test/Makefile
index 47a07d653a9..17716ef384a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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/