[oe-commits] [openembedded-core] 07/08: qemu: fix qemu ptest cannot work

git at git.openembedded.org git at git.openembedded.org
Wed Jun 12 09:58:59 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit cd8f12828dfb2fbc0f3e8aa5377733ef430d285f
Author: Changqing Li <changqing.li at windriver.com>
AuthorDate: Wed Jun 12 15:09:21 2019 +0800

    qemu: fix qemu ptest cannot work
    do_install_ptest in recipe is covered by default function
    in ptest.bbclass since inherit ptest write in wrong place,
    fix it by move it to top.
    Signed-off-by: Changqing Li <changqing.li at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-devtools/qemu/qemu.inc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index e44e351..ac475a8 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -4,6 +4,9 @@ LICENSE = "GPLv2 & LGPLv2.1"
 RDEPENDS_${PN}-ptest = "bash make"
+require qemu-targets.inc
+inherit pkgconfig bluetooth ptest
 LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
@@ -49,10 +52,6 @@ do_install_ptest() {
 	       -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include
-require qemu-targets.inc
-inherit pkgconfig bluetooth ptest
 # QEMU_TARGETS is overridable variable
 QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc riscv32 riscv64 sh4 x86_64"

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list