summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-07 11:30:42 -0700
committerTom Rini <trini@konsulko.com>2025-02-11 20:10:59 -0600
commitd87ffdaa3c41ceb245f75b518e0fbee358654b7a (patch)
tree91df16cc3c14e9dd8918eca53aa660dd135ff000
parent5a07d87b80a6a4568298beaa2e92a6eb98885680 (diff)
test: Move fdt-overlay-test rule into test/
The Makefile rules for tests should be within test/Makefile so move the 'fdt-overlay' 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 94cc3f1e4ec..d4fedd87fe6 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_FDT_OVERLAY) += test/fdt_overlay/
libs-y += $(if $(wildcard $(srctree)/board/$(BOARDDIR)/Makefile),board/$(BOARDDIR)/)
diff --git a/test/Makefile b/test/Makefile
index 5ef8c379cb2..99d4797d968 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -21,6 +21,7 @@ ifeq ($(CONFIG_XPL_BUILD),)
obj-y += boot/
obj-$(CONFIG_UNIT_TEST) += common/
obj-$(CONFIG_UT_ENV) += env/
+obj-$(CONFIG_UT_FDT_OVERLAY) += fdt_overlay/
obj-y += log/
else
obj-$(CONFIG_SPL_UT_LOAD) += image/