summaryrefslogtreecommitdiff
path: root/recipes-images/images/trdx-image-fstype.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-11-16 15:44:15 +0100
committerStefan Agner <stefan.agner@toradex.com>2017-01-10 16:00:40 -0800
commita034b8148b9f4b38d423cc4bab9ffbf080811714 (patch)
tree778bba928607b6c2224548af6b6153638166dbb9 /recipes-images/images/trdx-image-fstype.inc
parentb5917727823445bea122d81e49278397865583aa (diff)
trdx-image-fstype: if an SPL was built, deploy it
If there is an SPL binary deploy it in addition to the already deployed U-Boot binaries. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-images/images/trdx-image-fstype.inc')
-rw-r--r--recipes-images/images/trdx-image-fstype.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-images/images/trdx-image-fstype.inc b/recipes-images/images/trdx-image-fstype.inc
index a138624..73a8aae 100644
--- a/recipes-images/images/trdx-image-fstype.inc
+++ b/recipes-images/images/trdx-image-fstype.inc
@@ -147,6 +147,10 @@ fakeroot imagedeploy_arm() {
imagedeploy_kernel
cp -P ${DEPLOY_DIR_IMAGE}/u-boot* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ if [ -e ${DEPLOY_DIR_IMAGE}/SPL ]
+ then
+ cp -P ${DEPLOY_DIR_IMAGE}/SPL* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ fi
rm -f ${IMAGE_ROOTFS}/../${MACHINE}_bin/u-boot-hsmmc-${MACHINE}.${U_BOOT_EXT}
mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/${U_BOOT_SYMLINK} ${IMAGE_ROOTFS}/../${MACHINE}_bin/${U_BOOT_BINARY}