1SUMMARY = "Helper utilities needed by the runqemu script" 2LICENSE = "GPL-2.0-only" 3RDEPENDS:${PN} = "qemu-system-native" 4PR = "r1" 5 6LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999" 7 8SRC_URI = "\ 9 file://tunctl.c \ 10 file://qemu-oe-bridge-helper.c \ 11 " 12 13S = "${WORKDIR}" 14 15inherit native 16 17do_compile() { 18 ${CC} ${CFLAGS} ${LDFLAGS} -Wall tunctl.c -o tunctl 19 ${CC} ${CFLAGS} ${LDFLAGS} -Wall qemu-oe-bridge-helper.c -o qemu-oe-bridge-helper 20} 21 22do_install() { 23 install -d ${D}${bindir} 24 install tunctl ${D}${bindir}/ 25 install qemu-oe-bridge-helper ${D}${bindir}/ 26} 27 28DEPENDS += "qemu-system-native" 29addtask addto_recipe_sysroot after do_populate_sysroot before do_build 30