Commit d01f29d6 authored by Grant Likely's avatar Grant Likely
Browse files

qemu: Only copy bl32 images if optee enabled



Fixes bug in semihosting directory creation when OPTEE is disabled. If
optee is disabled, trying to copy non-existent files is going to fail.
Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent 1ccb5882
......@@ -24,9 +24,11 @@ all: semihosting
semihosting: tfa/all
mkdir -p output
cp $(TFA_OUTPUT)/$(TFA_PLAT)/release/*.bin output
ifeq ($(CONFIG_OPTEE),y)
cp $(OPTEE_OUTPUT)/arm-plat-vexpress/core/tee-header_v2.bin output/bl32.bin
cp $(OPTEE_OUTPUT)/arm-plat-vexpress/core/tee-pager_v2.bin output/bl32_extra1.bin
cp $(OPTEE_OUTPUT)/arm-plat-vexpress/core/tee-pageable_v2.bin output/bl32_extra2.bin
endif
cp $(UBOOT_OUTPUT)/u-boot.bin output/bl33.bin
qemu-fip:
......
Supports Markdown
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