diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-02-27 10:55:27 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-02-27 14:16:13 -0300 |
commit | e3a9d857db208af89718daaf6684fa135dd857ed (patch) | |
tree | c48c43bf4da0c1c8845630f15ea33b0d341a5c44 /classes | |
parent | 0adc0bc76f92e867f66e888b91499aa161e84719 (diff) | |
download | meta-fsl-arm-e3a9d857db208af89718daaf6684fa135dd857ed.tar.gz |
image_types_fsl.bbclass: fix barebox bootstream generation
Since the image_types.bbclass is not cd'ing to ${DEPLOY_DIR_IMAGE}
anymore, do that in a subshell before generating the boostream.
This fixes the following build failure:
ERROR: Error: The image creation script
'.../core-image-minimal/1.0-r0/temp/create_image.barebox.mxsboot-sdcard' returned 1:
error: unable to find command file imx-bootlets-barebox_ivt.bd-cfa10058
Change-Id: I5881c6bc333bef42a3f61d07b7bbd6c87c7d45e7
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_fsl.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index fd2effd..f0160df 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -42,9 +42,9 @@ IMAGE_CMD_barebox.mxsboot-sdcard () { | |||
42 | barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE} | 42 | barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE} |
43 | 43 | ||
44 | # Ensure the files are generated | 44 | # Ensure the files are generated |
45 | rm -f ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard | 45 | (cd ${DEPLOY_DIR_IMAGE}; rm -f ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard; \ |
46 | elftosb -f mx28 -z -c $barebox_bd_file -o ${IMAGE_NAME}.barebox.sb | 46 | elftosb -f mx28 -z -c $barebox_bd_file -o ${IMAGE_NAME}.barebox.sb; \ |
47 | mxsboot sd ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard | 47 | mxsboot sd ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard) |
48 | } | 48 | } |
49 | 49 | ||
50 | # U-Boot mxsboot generation to SD-Card | 50 | # U-Boot mxsboot generation to SD-Card |