summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-image-fstype.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-05-05 10:59:59 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-05-12 10:06:08 +0200
commitf60bd5556d8eb9f8f49bf65020799319ab1c0cea (patch)
treead39bd85e7200149494d3ac6242b13123aab4eb7 /recipes/images/trdx-image-fstype.inc
parent29ad82a2addd44e340af4a0e72fa307aa84ca160 (diff)
trdx-image-fstype: create the U-Boot scipts at buildtime
Create the U-Boot scipts at image buildtime and remove the binary script representation from version control.
Diffstat (limited to 'recipes/images/trdx-image-fstype.inc')
-rw-r--r--recipes/images/trdx-image-fstype.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index 51575f9..5b9eaeb 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -89,6 +89,10 @@ fakeroot do_imagedeploy() {
cd ${WORKDIR}
cp -pLr ${BURNFLASH}/* ${IMAGE_NAME}${PV}/
+ cd ${IMAGE_NAME}${PV}/${MACHINE}_bin
+ ./mk-u-boot-scripts.sh
+ cd ${WORKDIR}
+
imagedeploy_kernel
cp -pP ${DEPLOY_DIR_IMAGE}/u-boot* ${IMAGE_ROOTFS}/../${MACHINE}_bin/