diff options
Diffstat (limited to 'meta/packages/qemu/qemu-helper-native_1.0.bb')
| -rw-r--r-- | meta/packages/qemu/qemu-helper-native_1.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-helper-native_1.0.bb b/meta/packages/qemu/qemu-helper-native_1.0.bb new file mode 100644 index 0000000000..19fb6f4ff7 --- /dev/null +++ b/meta/packages/qemu/qemu-helper-native_1.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | DESCRIPTION = "Qemu helper utilities from Poky" | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | RDEPENDS = "qemu-native" | ||
| 4 | PR = "r0" | ||
| 5 | |||
| 6 | FILESPATH = "${FILE_DIRNAME}/qemu-helper" | ||
| 7 | |||
| 8 | SRC_URI = "file://tunctl.c" | ||
| 9 | |||
| 10 | S = "${WORKDIR}" | ||
| 11 | |||
| 12 | inherit native | ||
| 13 | |||
| 14 | do_compile() { | ||
| 15 | ${CC} tunctl.c -o tunctl | ||
| 16 | } | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}${bindir} | ||
| 20 | install tunctl ${D}${bindir}/ | ||
| 21 | } | ||
