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

TFA parameters need to be passed via make; not env



Passing the PLAT and BL33 values via the environment doesn't work. Those
values need to be passed on the make command line.

Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent cf25ab35
......@@ -63,14 +63,11 @@ u-boot: export KBUILD_OUTPUT=$(UBOOT_OUTPUT)
u-boot: dtb
${MAKE} -C ${UBOOT_PATH} ${UBOOT_EXTRA} -j4
tfa-bl31: export PLAT=$(TFA_PLAT)
tfa-bl31:
${MAKE} -C ${TFA_PATH} LOG_LEVEL=20 ${TFA_EXTRA} bl31
${MAKE} -C ${TFA_PATH} LOG_LEVEL=20 PLAT=$(TFA_PLAT) ${TFA_EXTRA} bl31
tfa-fip: export BL33=$(UBOOT_OUTPUT)/u-boot.bin
tfa-fip: export PLAT=$(TFA_PLAT)
tfa-fip: u-boot ${TFA_DEPS}
${MAKE} -C ${TFA_PATH} LOG_LEVEL=20 ${TFA_EXTRA} all fip
${MAKE} -C ${TFA_PATH} LOG_LEVEL=20 PLAT=$(TFA_PLAT) BL33=$(UBOOT_OUTPUT)/u-boot.bin ${TFA_EXTRA} all fip
flash-to-sd:
sudo dd if=${FLASH_IMAGE} of=${FLASH_DEVICE} ${FLASH_EXTRA} conv=fdatasync status=progress
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