summaryrefslogtreecommitdiff
path: root/Platform/ARM/SgiPkg/SgiPlatform.dsc
diff options
context:
space:
mode:
authorJagadeesh Ujja <jagadeesh.ujja@arm.com>2019-02-25 11:38:29 +0530
committerThomas Abraham <thomas.abraham@arm.com>2019-10-22 17:14:53 +0530
commit5f9ae69b9a3e198acc007c252c46066151fd5ffc (patch)
tree5ea62cd5445a17295c2c67286288cf9bf7f0b275 /Platform/ARM/SgiPkg/SgiPlatform.dsc
parent4c0d0b9b7ead58d9e074d1e24b5a6fdcf56ce97f (diff)
Platforms/ARM/SgiPkg: update build options if secure storage is enabled
Update the build options by adding SECURE_STORAGE_ENABLE macro is secure storage feature is enabled. Change-Id: I1b35a5173776c919410974b30cf1d0ce92c29b5f Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
Diffstat (limited to 'Platform/ARM/SgiPkg/SgiPlatform.dsc')
-rw-r--r--Platform/ARM/SgiPkg/SgiPlatform.dsc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc b/Platform/ARM/SgiPkg/SgiPlatform.dsc
index 970caff4..371661b7 100644
--- a/Platform/ARM/SgiPkg/SgiPlatform.dsc
+++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc
@@ -23,6 +23,13 @@
!include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc
+[BuildOptions]
+!ifdef SECURE_STORAGE_ENABLE
+ *_*_*_CC_FLAGS = -DSECURE_STORAGE_ENABLE=1
+ *_*_ARM_ARCHCC_FLAGS = -DSECURE_STORAGE_ENABLE=1
+ *_*_ARM_PP_FLAGS = -DSECURE_STORAGE_ENABLE=1
+!endif
+
[LibraryClasses.common]
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf