diff options
author | Jagadeesh Ujja <jagadeesh.ujja@arm.com> | 2019-02-25 10:38:16 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-02-25 11:11:28 +0530 |
commit | 808225ea3a73623b367458b4017311510b467da6 (patch) | |
tree | 85d2fda499b10d5e0759249da05b61503efb8e53 | |
parent | d2fe2fb83f7dba18b6a9e097f92d31bfc590904c (diff) |
sgi/build-test-secureboot: allow this script to be usable on sgiclarkh platform
SGI-Clark.Helios platform supports secure storage of EFI variables and
secure boot of the platform. So enable usability of this script on
SGI-Clark.Ares platform.
Change-Id: I6b836632e9cd310c2b0b24b50c539ed5295347e0
Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
-rwxr-xr-x | build-uefi.sh | 9 | ||||
-rwxr-xr-x | sgi/build-test-secureboot.sh | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/build-uefi.sh b/build-uefi.sh index 74af75e..f6d28e4 100755 --- a/build-uefi.sh +++ b/build-uefi.sh @@ -73,6 +73,15 @@ do_build () IASL_PREFIX=${TOP_DIR}/${UEFI_ACPICA_PATH}/bin/ make -f ${!makefile} EDK2_BUILD=$UEFI_BUILD_MODE else outdir=UEFI_PLAT_$item[platname] + echo + echo + echo + echo + echo $UEFI_EXTRA_BUILD_PARAMS + echo + echo + echo + echo EXTRA_OPTIONS="-s" IASL_PREFIX=${TOP_DIR}/${UEFI_ACPICA_PATH}/bin/ ${TOP_DIR}/${UEFI_TOOLS_PATH}/edk2-build.sh -e ${TOP_DIR}/uefi/edk2 -p ${TOP_DIR}/uefi/edk2/edk2-platforms -D EDK2_OUT_DIR=Build/${!outdir} $UEFI_EXTRA_BUILD_PARAMS -b $UEFI_BUILD_MODE $item fi done diff --git a/sgi/build-test-secureboot.sh b/sgi/build-test-secureboot.sh index fa95bca..a821d45 100755 --- a/sgi/build-test-secureboot.sh +++ b/sgi/build-test-secureboot.sh @@ -32,6 +32,7 @@ declare -A sgi_platforms sgi_platforms[sgi575]=1 sgi_platforms[sgiclarka]=1 +sgi_platforms[sgiclarkh]=1 __print_supported_sgi_platforms() { @@ -68,7 +69,7 @@ __print_usage() __do_override_build_configs() { echo "build-secureboot.sh: adding UEFI_EXTRA_BUILD_PARAMS build configuration" - export UEFI_EXTRA_BUILD_PARAMS="-D SECURE_STORAGE_ENABLE=TRUE -D SECURE_BOOT_ENABLE=TRUE" + export UEFI_EXTRA_BUILD_PARAMS="-D SECURE_STORAGE_ENABLE -D MM_SECURE_STORAGE_ENABLE=TRUE -D SECURE_BOOT_ENABLE=TRUE" echo $UEFI_EXTRA_BUILD_PARAMS } |