summaryrefslogtreecommitdiffstats
path: root/meta/packages/x-load/x-load.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/x-load/x-load.inc')
-rw-r--r--meta/packages/x-load/x-load.inc14
1 files changed, 5 insertions, 9 deletions
diff --git a/meta/packages/x-load/x-load.inc b/meta/packages/x-load/x-load.inc
index 01db413b12..7073b13fe7 100644
--- a/meta/packages/x-load/x-load.inc
+++ b/meta/packages/x-load/x-load.inc
@@ -3,6 +3,8 @@ SECTION = "bootloaders"
3PRIORITY = "optional" 3PRIORITY = "optional"
4LICENSE = "GPL" 4LICENSE = "GPL"
5 5
6inherit deploy
7
6DEPENDS = "signgp-native" 8DEPENDS = "signgp-native"
7 9
8PARALLEL_MAKE="" 10PARALLEL_MAKE=""
@@ -27,20 +29,14 @@ do_compile () {
27 29
28do_deploy () { 30do_deploy () {
29 signGP ${S}/x-load.bin 31 signGP ${S}/x-load.bin
30 install -d ${DEPLOY_DIR_IMAGE} 32 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${XLOAD_IMAGE}
31 install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} 33 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${MLO_IMAGE}
32 install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE}
33 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE}
34 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE}
35 34
36 cd ${DEPLOY_DIR_IMAGE} 35 cd ${DEPLOYDIR}
37 rm -f ${XLOAD_SYMLINK} 36 rm -f ${XLOAD_SYMLINK}
38 ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK} 37 ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK}
39 rm -f ${MLO_SYMLINK} 38 rm -f ${MLO_SYMLINK}
40 ln -sf ${MLO_IMAGE} ${MLO_SYMLINK} 39 ln -sf ${MLO_IMAGE} ${MLO_SYMLINK}
41 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_SYMLINK}
42 package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_SYMLINK}
43} 40}
44do_deploy[dirs] = "${S}"
45addtask deploy before do_build after do_compile 41addtask deploy before do_build after do_compile
46 42