diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-06 09:17:50 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-06 12:03:08 +0300 |
commit | 368afd53358f6dbe4196c437be557161e1f27543 (patch) | |
tree | 61ff89a6aa9f5a206b1d263f1c1f0f65eb296594 /recipes/u-boot/u-boot-script-boundary_git.bbappend | |
parent | 7864ad804e7101608fd55552788474e1f5b97909 (diff) | |
download | meta-boot2qt-368afd53358f6dbe4196c437be557161e1f27543.tar.gz |
u-boot-script-boundary: correctly build sabrelite bootscripts
Build bootscript for sabrelite with correct MACHINE_ARCH.
Also add dependency to image, so that bootscripts are built
for sdcard image.
Change-Id: I6cbf8d0b35b9aaa828ef26740384135c8691b11d
Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
Diffstat (limited to 'recipes/u-boot/u-boot-script-boundary_git.bbappend')
-rw-r--r-- | recipes/u-boot/u-boot-script-boundary_git.bbappend | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes/u-boot/u-boot-script-boundary_git.bbappend b/recipes/u-boot/u-boot-script-boundary_git.bbappend index 2f02fb6..8db57e0 100644 --- a/recipes/u-boot/u-boot-script-boundary_git.bbappend +++ b/recipes/u-boot/u-boot-script-boundary_git.bbappend | |||
@@ -1,9 +1,6 @@ | |||
1 | MACHINE = "nitrogen6x" | ||
2 | 1 | ||
3 | do_deploy_append () { | 2 | do_mkimage_prepend () { |
4 | cd ${DEPLOYDIR} | 3 | if [ ! -e board/boundary/${MACHINE} ]; then |
5 | rm -f 6x_bootscript 6x_upgrade | 4 | cp -r board/boundary/nitrogen6x board/boundary/${MACHINE} |
6 | ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR} 6x_bootscript | 5 | fi |
7 | ln -sf 6x_upgrade-${MACHINE}-${PV}-${PR} 6x_upgrade | ||
8 | } | 6 | } |
9 | |||