From 5a07d87b80a6a4568298beaa2e92a6eb98885680 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 7 Feb 2025 11:30:41 -0700 Subject: [PATCH] test: Move optee-test rule into test/ The Makefile rules for tests should be within test/Makefile so move the 'optee' rule over. Signed-off-by: Simon Glass --- Makefile | 1 - test/Makefile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3fe1873f5d8..94cc3f1e4ec 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_OPTEE) += test/optee/ 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 17716ef384a..5ef8c379cb2 100644 --- a/test/Makefile +++ b/test/Makefile @@ -14,6 +14,7 @@ endif ifneq ($(CONFIG_HUSH_PARSER),) obj-$(CONFIG_$(XPL_)CMDLINE) += hush/ endif +obj-$(CONFIG_UT_OPTEE) += optee/ obj-y += ut.o ifeq ($(CONFIG_XPL_BUILD),) -- 2.39.5