]> code.ossystems Code Review - meta-freescale.git/commitdiff
mux-server: deploy the binary as it is standalone
authorTing Liu <ting.liu@freescale.com>
Fri, 17 Jul 2015 14:10:24 +0000 (22:10 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Jul 2015 02:26:57 +0000 (23:26 -0300)
The topaz mux-server is a standalone tool, deploy the binary like
other images like u-boot/kernel/rcw.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-ppc/recipes-virtualization/mux-server/mux-server_1.02.bb

index 5382f232d7a1d97ed8ad5cb8bc97c0f113250852..744a84c2b4425e09d83cc9b8a64c56d0d7d131a7 100644 (file)
@@ -10,9 +10,18 @@ S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE='HOSTCC="${CC}"'
 
+inherit deploy
+
 do_install () {
     install -d ${D}${bindir}
     install -m 755 mux_server ${D}${bindir}
 }
 
+do_deploy() {
+    install -d ${DEPLOYDIR}/hv
+    install -m 755 mux_server ${DEPLOYDIR}/hv/mux_server-${PKGV}-${PKGR}
+    ln -sf mux_server-${PKGV}-${PKGR} ${DEPLOYDIR}/hv/mux_server
+}
+addtask deploy after do_install
+
 BBCLASSEXTEND = "native nativesdk"