diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-09-01 19:30:37 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-09-01 19:33:06 +0200 |
commit | b5a46622b1a931df4b7748d9e55271b042e01606 (patch) | |
tree | 6a01499dc88e60f97c7607ff288a5d0b30ed5487 /leg-virt-tiancore-edk2-upstream.yaml | |
parent | 27e24d77b70b221b91427999748e5c2b52a3eb29 (diff) |
leg-virt-tianocore: enable secure boot on all targets that support it
Since images with secure boot support can happily run with secure
boot disabled as well, build only a single secure boot enabled version
of all targets that support it.
Change-Id: Ic6a6a304981b13bb3cafd67e77a08acbb63f16e7
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'leg-virt-tiancore-edk2-upstream.yaml')
-rw-r--r-- | leg-virt-tiancore-edk2-upstream.yaml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/leg-virt-tiancore-edk2-upstream.yaml b/leg-virt-tiancore-edk2-upstream.yaml index a238b6dfd5..ad19d83b5e 100644 --- a/leg-virt-tiancore-edk2-upstream.yaml +++ b/leg-virt-tiancore-edk2-upstream.yaml @@ -113,19 +113,15 @@ for tc in GCC48 GCC49 CLANG35 do mkdir -p ${OUTDIR}/QEMU-AARCH64/${type}_${tc} - build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc + build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc -D SECURE_BOOT_ENABLE cp Build/ArmVirtQemu-AARCH64/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-AARCH64/${type}_${tc} mkdir -p ${OUTDIR}/XEN-AARCH64/${type}_${tc} build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtXen.dsc cp Build/ArmVirtXen-AARCH64/${type}_${tc}/FV/XEN_EFI.fd ${OUTDIR}/XEN-AARCH64/${type}_${tc} - mkdir -p ${OUTDIR}/QEMU-AARCH64/${type}_${tc}-SECURE - build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmVirtPkg/ArmVirtQemu.dsc -D SECURE_BOOT_ENABLE - cp Build/ArmVirtQemu-AARCH64/${type}_${tc}/FV/QEMU_EFI.fd ${OUTDIR}/QEMU-AARCH64/${type}_${tc}-SECURE - mkdir -p ${OUTDIR}/FVP-AARCH64/${type}_${tc} - build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc -D DTB_DIR=${DTBDIR} + build -a AARCH64 -t ${tc} -b ${type} -n $NUM_THREADS -p ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc -D DTB_DIR=${DTBDIR} -D SECURE_BOOT_ENABLE cp Build/ArmVExpress-FVP-AArch64/${type}_${tc}/FV/FVP_AARCH64_EFI.fd ${OUTDIR}/FVP-AARCH64/${type}_${tc} done done @@ -166,7 +162,7 @@ - shell: | KERNEL_BUILD_NUM=$(wget -q --no-check-certificate -O - https://ci.linaro.org/job/linux-mainline/ARCH=arm64,defconfig=defconfig,label=linaro-kernel-ci/lastSuccessfulBuild/buildNumber) DEVICE_TYPE=kvm-aarch64 - QEMU_EFI_URL=https://snapshots.linaro.org/components/kernel/${JOB_NAME}/${BUILD_NUMBER}/QEMU-AARCH64/RELEASE_GCC49-SECURE/QEMU_EFI.img.gz + QEMU_EFI_URL=https://snapshots.linaro.org/components/kernel/${JOB_NAME}/${BUILD_NUMBER}/QEMU-AARCH64/RELEASE_GCC49/QEMU_EFI.img.gz TEMPLATE=https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/leg-virt-tiancore-edk2-upstream/lava-job-definitions/${DEVICE_TYPE}/template.json wget -O - -q --no-check-certificate $TEMPLATE | \ |