From ccd829ae692d83a58b0ef861170078b1feace2f5 Mon Sep 17 00:00:00 2001
From: Jens Wiklander <jens.wiklander@linaro.org>
Date: Mon, 5 Feb 2018 20:30:39 +0100
Subject: [PATCH] Switch to {xtest,optee-examples}-clean-common

Switches to xtest-clean-common optee-examples-clean-common instead of
xtest-clean optee-examples-clean in the optee-os-clean-common. This is
needed in case the platform make file doesn't provide these targets.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
---
 common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index 7b1b4a5..2429bf4 100644
--- a/common.mk
+++ b/common.mk
@@ -306,7 +306,7 @@ OPTEE_OS_CLEAN_COMMON_FLAGS ?= $(OPTEE_OS_COMMON_EXTRA_FLAGS)
 ifeq ($(CFG_TEE_BENCHMARK),y)
 optee-os-clean-common: benchmark-app-clean-common
 endif
-optee-os-clean-common: xtest-clean optee-examples-clean
+optee-os-clean-common: xtest-clean-common optee-examples-clean-common
 	$(MAKE) -C $(OPTEE_OS_PATH) $(OPTEE_OS_CLEAN_COMMON_FLAGS) clean
 
 OPTEE_CLIENT_COMMON_FLAGS ?= CROSS_COMPILE=$(CROSS_COMPILE_NS_USER) \
-- 
GitLab