From 34e99043eb0386b4813b84d49152f2904c47333d Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Fri, 17 Jul 2015 22:10:24 +0800 Subject: mux-server: deploy the binary as it is standalone The topaz mux-server is a standalone tool, deploy the binary like other images like u-boot/kernel/rcw. Signed-off-by: Ting Liu Acked-by: Otavio Salvador --- 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" -- cgit v1.2.3-54-g00ecf