summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-06-12 12:57:19 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2014-06-16 19:17:57 +0200
commit487498cc437a8b9e563f09f70d85f9c6e1e19a8e (patch)
tree5d1161014d82ea57672c791d300dc03c2d286a78
parent4573cc55698b520daaff7761626f9ac77a313f5d (diff)
trdx-image-fstype: improve for use with other images
Don't fail for images which do not deploy /boot/uImage mx6: only strip binaries
-rw-r--r--recipes/images/trdx-image-fstype.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index 9279782..3cd094e 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -41,13 +41,13 @@ do_rootfs_append_mx6() {
# add imx-loader and its configuration files
cp ${STAGING_BINDIR_NATIVE}/imx_usb ${IMAGE_ROOT}/
- ${BUILD_STRIP} ${IMAGE_ROOT}/imx_usb*
+ ${BUILD_STRIP} ${IMAGE_ROOT}/imx_usb ${IMAGE_ROOT}/imx_usb.m32
cp ${STAGING_ETCDIR_NATIVE}/imx-loader.d/* ${IMAGE_ROOT}/
}
do_rootfs_append() {
# put u-boot, kernel into the bin directories, remove the kernel from the rootfs/boot
- rm ${IMAGE_ROOTFS}/boot/uImage*
+ rm -f ${IMAGE_ROOTFS}/boot/uImage*
cp -pP ${DEPLOY_DIR_IMAGE}/uImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/uImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/uImage