summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-