Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 2 | Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com> |
| 3 | |
| 4 | From 327290faefe16440c4975c9539b11d43c92bcf48 Mon Sep 17 00:00:00 2001 |
| 5 | From: Vishnu Banavath <vishnu.banavath@arm.com> |
| 6 | Date: Thu, 25 Nov 2021 06:20:48 +0000 |
| 7 | Subject: [PATCH] plat-corstone1000: add a rule in Makefile to SP_MAKEFILE_PATH |
| 8 | |
| 9 | This change is to provide an option to user to include |
| 10 | secure manifest into optee-os Makefile so that the secure |
| 11 | partition is part of optee-os image |
| 12 | |
| 13 | Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com> |
| 14 | |
| 15 | diff --git a/Makefile b/Makefile |
| 16 | index 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 | -- |
| 37 | 2.17.1 |
| 38 | |