[meta-freescale] [meta-fsl-ppc][PATCH v2] mux-server: deploy the binary as it is standalone
b28495 at freescale.com
b28495 at freescale.com
Fri Jul 17 07:10:24 PDT 2015
From: Ting Liu <ting.liu at freescale.com>
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 at freescale.com>
---
recipes-virtualization/mux-server/mux-server_1.02.bb | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/recipes-virtualization/mux-server/mux-server_1.02.bb b/recipes-virtualization/mux-server/mux-server_1.02.bb
index 5382f23..744a84c 100644
--- a/recipes-virtualization/mux-server/mux-server_1.02.bb
+++ b/recipes-virtualization/mux-server/mux-server_1.02.bb
@@ -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"
--
1.9.1
More information about the meta-freescale
mailing list