From a034b8148b9f4b38d423cc4bab9ffbf080811714 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 16 Nov 2016 15:44:15 +0100 Subject: 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 Acked-by: Stefan Agner --- recipes-images/images/trdx-image-fstype.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-images') 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} -- cgit v1.2.3