qemu-xilinx-helper-native: Base off core qemu-helper-native
Simplify the recipe, as the purpose of the change isn't to adjust the contents,
but to change the name, depends and rdepends.  (Can't use a bbappend as
the changes need to be contingent on qemu-xilinx being built.)
FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-devtools/qemu/qemu-helper:"
-# provide it, to replace the existing
-PROVIDES = "qemu-helper-native"
-PR = "r1"
-
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
-
-SRC_URI = "\
- file://tunctl.c \
- "
-
-S = "${WORKDIR}"
+require ${COREBASE}/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
-inherit native
+# provide it, to replace the existing recipe
+PROVIDES = "qemu-helper-native"
-do_compile() {
- ${CC} ${CFLAGS} ${LDFLAGS} -Wall tunctl.c -o tunctl
-}
# replace qemu with qemu-xilinx
DEPENDS:remove = "qemu-system-native"
-DEPENDS:append = " \
- qemu-xilinx-system-native \
- qemu-xilinx-multiarch-helper-native \
- "
+DEPENDS:append = " qemu-xilinx-system-native qemu-xilinx-multiarch-helper-native"
RDEPENDS:${PN}:remove = "qemu-system-native"
RDEPENDS:${PN}:append = " qemu-xilinx-system-native"
-
-do_install() {
- install -d ${STAGING_BINDIR_NATIVE}
- install tunctl ${STAGING_BINDIR_NATIVE}
-
-}
-addtask addto_recipe_sysroot after do_populate_sysroot before do_build
