blob: 1dfce0e4c7bf87b8eb441ea48c7ca6e2d1c73b45 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Helper utilities needed by the runqemu script"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00002LICENSE = "GPL-2.0-only"
Patrick Williams213cb262021-08-07 19:21:33 -05003RDEPENDS:${PN} = "qemu-system-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
Patrick Williams520786c2023-06-25 16:20:36 -05005LIC_FILES_CHKSUM = "file://${WORKDIR}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f4d7"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
Patrick Williams520786c2023-06-25 16:20:36 -05007SRC_URI = "file://qemu-oe-bridge-helper.c"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9S = "${WORKDIR}"
10
11inherit native
12
13do_compile() {
Patrick Williams2390b1b2022-11-03 13:47:49 -050014 ${CC} ${CFLAGS} ${LDFLAGS} -Wall qemu-oe-bridge-helper.c -o qemu-oe-bridge-helper
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015}
16
17do_install() {
18 install -d ${D}${bindir}
Patrick Williams2390b1b2022-11-03 13:47:49 -050019 install qemu-oe-bridge-helper ${D}${bindir}/
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020}
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021
Andrew Geissler517393d2023-01-13 08:55:19 -060022DEPENDS += "qemu-system-native unfs3-native pseudo-native"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023addtask addto_recipe_sysroot after do_populate_sysroot before do_build