gitlab.arm.com will be in the maintainance mode on Wednesday June 29th 01:00 - 10:00 (UTC+1). Repositories is read only during the maintainance.

Commit 9b6d2b1d authored by Grant Likely's avatar Grant Likely Committed by G Edhaya Chandran
Browse files

buildzip: Add CapsuleApp.efi to the SCT zip file



CapsuleApp.efi is necessary for testing capsule updates of the firmware.
Add it into the default build.

Cc: G Edhaya Chandran <edhaya.chandran@arm.com>
Cc: Barton Gao <gaojie@byosoft.com.cn>
Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
Reviewed-by: Samer El-Haj-Mahmoud's avatarSamer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Reviewed-by: G Edhaya Chandran<edhaya.chandran@arm.com>
parent 5847a636
......@@ -39,8 +39,8 @@ NUM_CPUS=$((`getconf _NPROCESSORS_ONLN` + 2))
make -j"$NUM_CPUS" -C edk2/BaseTools/
# Build the SCT and the shell
DSC_EXTRA=ShellPkg/ShellPkg.dsc ./SctPkg/build.sh ${TARGET_ARCH} GCC RELEASE -j"$NUM_CPUS"
# Build the SCT, CapsuleApp.efi, and the shell
DSC_EXTRA="ShellPkg/ShellPkg.dsc MdeModulePkg/MdeModulePkg.dsc" ./SctPkg/build.sh ${TARGET_ARCH} GCC RELEASE -j"$NUM_CPUS"
# Assemble all the files that need to be in the zip file
mkdir -p ${TARGET_ARCH}_SCT/EFI/BOOT
......@@ -50,6 +50,9 @@ mkdir -p ${TARGET_ARCH}_SCT/SCT
cp -r Build/UefiSct/RELEASE_GCC5/SctPackage${TARGET_ARCH}/${TARGET_ARCH}/* ${TARGET_ARCH}_SCT/SCT/
cp Build/UefiSct/RELEASE_GCC5/SctPackage${TARGET_ARCH}/SctStartup.nsh ${TARGET_ARCH}_SCT/Startup.nsh
mkdir -p ${TARGET_ARCH}_SCT/Mde
cp Build/MdeModule/RELEASE_GCC5/${TARGET_ARCH}/CapsuleApp.efi ${TARGET_ARCH}_SCT/Mde
# Copy the SCT Parser tool into the repo
cp sct_parser/* ${TARGET_ARCH}_SCT/SCT/Sequence/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment