* am65xx-evm requires 2 SPL images, one for A53 and one for R5.
Signed-off-by: Jacob Stiffler <[email protected]>
---
meta-arago-distro/classes/tisdk-image.bbclass | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta-arago-distro/classes/tisdk-image.bbclass
b/meta-arago-distro/classes/tisdk-image.bbclass
index dc715a6..39e6461 100644
--- a/meta-arago-distro/classes/tisdk-image.bbclass
+++ b/meta-arago-distro/classes/tisdk-image.bbclass
@@ -772,17 +772,17 @@ tisdk_image_build () {
done
fi
- if [ "${DEPLOY_SPL_NAME}" != "" ]
- then
+ for spl_name in ${DEPLOY_SPL_NAME}
+ do
# Copy the SPL image if it exists
- if [ -e ${DEPLOY_DIR_IMAGE}/${DEPLOY_SPL_NAME} ]
+ if [ -e ${DEPLOY_DIR_IMAGE}/$spl_name ]
then
- cp ${DEPLOY_DIR_IMAGE}/${DEPLOY_SPL_NAME} ${prebuilt_dir}/
+ cp ${DEPLOY_DIR_IMAGE}/$spl_name ${prebuilt_dir}/
else
- echo "Could not find the SPL image"
+ echo "Could not find the SPL image \"$spl_name\""
return 1
fi
- fi
+ done
if [ "${DEPLOY_SPL_UART_NAME}" != "" ]
then
--
2.7.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago