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 | 8dc11948600bb8d28364fcbe604c0981626342f3 (patch) | |
| tree | 27f542a0c8764aced6e07f3270adeba475eb6e7d /meta-fsl-arm/classes | |
| parent | 171fb79aa022ac120789746a9b56c7ffe618686e (diff) | |
| download | meta-freescale-8dc11948600bb8d28364fcbe604c0981626342f3.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 'meta-fsl-arm/classes')
| -rw-r--r-- | meta-fsl-arm/classes/image_types_fsl.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index fd2effd2b..f0160dfe9 100644 --- a/meta-fsl-arm/classes/image_types_fsl.bbclass +++ b/meta-fsl-arm/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 |
