From 5f9ae69b9a3e198acc007c252c46066151fd5ffc Mon Sep 17 00:00:00 2001 From: Jagadeesh Ujja Date: Mon, 25 Feb 2019 11:38:29 +0530 Subject: 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 --- Platform/ARM/SgiPkg/SgiPlatform.dsc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Platform/ARM/SgiPkg/SgiPlatform.dsc') 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 -- cgit v1.2.3