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 | |
| 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>
| -rw-r--r-- | recipes/images/b2qt-embedded-image.bb | 2 | ||||
| -rw-r--r-- | recipes/u-boot/u-boot-script-boundary_git.bbappend | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/recipes/images/b2qt-embedded-image.bb b/recipes/images/b2qt-embedded-image.bb index cf92174..dc88e81 100644 --- a/recipes/images/b2qt-embedded-image.bb +++ b/recipes/images/b2qt-embedded-image.bb | |||
| @@ -13,6 +13,8 @@ IMAGE_FEATURES += "\ | |||
| 13 | 13 | ||
| 14 | inherit core-image | 14 | inherit core-image |
| 15 | 15 | ||
| 16 | EXTRA_IMAGEDEPENDS_mx6 += "u-boot-script-boundary" | ||
| 17 | |||
| 16 | MACHINE_EXTRA_INSTALL = "" | 18 | MACHINE_EXTRA_INSTALL = "" |
| 17 | 19 | ||
| 18 | MACHINE_EXTRA_INSTALL_mx6 += "\ | 20 | MACHINE_EXTRA_INSTALL_mx6 += "\ |
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 | |||
