blob: 9aec829c674f919dac3a0ccb8e599a13737a715f [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001Upstream-Status: Pending [Not submitted to upstream yet]
2Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
3
4From 327290faefe16440c4975c9539b11d43c92bcf48 Mon Sep 17 00:00:00 2001
5From: Vishnu Banavath <vishnu.banavath@arm.com>
6Date: Thu, 25 Nov 2021 06:20:48 +0000
7Subject: [PATCH] plat-corstone1000: add a rule in Makefile to SP_MAKEFILE_PATH
8
9This change is to provide an option to user to include
10secure manifest into optee-os Makefile so that the secure
11partition is part of optee-os image
12
13Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
14
15diff --git a/Makefile b/Makefile
16index f6fcea8b..21722939 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -18,6 +18,16 @@ unexport MAKEFILE_LIST
20 # nonzero status). Useful since a few recipes use shell redirection.
21 .DELETE_ON_ERROR:
22
23+# include secure partition make file and manifest file
24+ifdef CFG_SP_MKFILE_PATH
25+ifdef CFG_EMBED_DTB_SOURCE_FILE
26+include $(CFG_SP_MKFILE_PATH)
27+$(info Loading secure partitions manifest ${CFG_EMBED_DTB_SOURCE_FILE})
28+CFG_EMBED_DTB_SOURCE_FILE :=${CFG_EMBED_DTB_SOURCE_FILE}
29+OPTEE_OS_COMMON_EXTRA_FLAGS+=${CFG_EMBED_DTB_SOURCE_FILE}
30+endif
31+endif
32+
33 include mk/checkconf.mk
34
35 .PHONY: all
36--
372.17.1
38