summaryrefslogtreecommitdiff
path: root/recipes/x-load
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2009-10-27 21:09:07 +0000
committerKoen Kooi <koen@openembedded.org>2009-10-28 10:16:28 +0100
commit12eb9b8d48602863a763b3e2c4a8559285b5beb6 (patch)
tree34e640114079b636406b97e9c7c38107da22b39b /recipes/x-load
parenteb738d7c772b80700271e86d5c4207179ffe1956 (diff)
x-load.inc: Add support to build a version of x-load that can be loaded over OTG USB.
Diffstat (limited to 'recipes/x-load')
-rw-r--r--recipes/x-load/x-load.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/x-load/x-load.inc b/recipes/x-load/x-load.inc
index 01db413b12..a340958d7e 100644
--- a/recipes/x-load/x-load.inc
+++ b/recipes/x-load/x-load.inc
@@ -13,6 +13,8 @@ XLOAD_MACHINE ?= "${MACHINE}_config"
XLOAD_IMAGE ?= "x-load-${MACHINE}-${PV}-${PR}.bin.ift"
XLOAD_SYMLINK ?= "x-load-${MACHINE}.bin.ift"
+XLOAD_USB_IMAGE ?= "x-load-usb-${MACHINE}-${PV}-${PR}.bin"
+XLOAD_USB_SYMLINK ?= "x-load-usb-${MACHINE}.bin"
MLO_IMAGE ?= "MLO-${MACHINE}-${PV}-${PR}"
MLO_SYMLINK ?= "MLO-${MACHINE}"
@@ -29,18 +31,22 @@ do_deploy () {
signGP ${S}/x-load.bin
install -d ${DEPLOY_DIR_IMAGE}
install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE}
+ install ${S}/x-load.bin ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_IMAGE}
install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE}
+ package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_IMAGE}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE}
cd ${DEPLOY_DIR_IMAGE}
rm -f ${XLOAD_SYMLINK}
ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK}
+ rm -f ${XLOAD_USB_SYMLINK}
+ ln -sf ${XLOAD_USB_IMAGE} ${XLOAD_USB_SYMLINK}
rm -f ${MLO_SYMLINK}
ln -sf ${MLO_IMAGE} ${MLO_SYMLINK}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_SYMLINK}
+ package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_SYMLINK}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_SYMLINK}
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
-