summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
blob: 19fb6f4ff7d06686e04d1c7ae02635c60b9c89ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Qemu helper utilities from Poky"
LICENSE = "GPLv2"
RDEPENDS = "qemu-native"
PR = "r0"

FILESPATH = "${FILE_DIRNAME}/qemu-helper"

SRC_URI = "file://tunctl.c"

S = "${WORKDIR}"

inherit native

do_compile() {
	${CC} tunctl.c -o tunctl
}

do_install() {
	install -d ${D}${bindir}
	install tunctl ${D}${bindir}/
}