diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-06-12 15:09:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-12 21:08:52 +0100 |
commit | 508269e4bad91713ed816c2509f8c74e3e259c97 (patch) | |
tree | 39049f42e53295d245d2b316ddd460260c5839b6 /meta/recipes-devtools/qemu | |
parent | 21bd096d6cbe7ce257d3b352e2a64c783e845d4d (diff) | |
download | poky-508269e4bad91713ed816c2509f8c74e3e259c97.tar.gz |
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.
(From OE-Core rev: d4ad8d95c60830ac4bd988314cd865c32d1ec4e0)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index e44e351129..ac475a8e2a 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -4,6 +4,9 @@ LICENSE = "GPLv2 & LGPLv2.1" | |||
4 | 4 | ||
5 | RDEPENDS_${PN}-ptest = "bash make" | 5 | RDEPENDS_${PN}-ptest = "bash make" |
6 | 6 | ||
7 | require qemu-targets.inc | ||
8 | inherit pkgconfig bluetooth ptest | ||
9 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ |
8 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" | 11 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" |
9 | 12 | ||
@@ -49,10 +52,6 @@ do_install_ptest() { | |||
49 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include | 52 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include |
50 | } | 53 | } |
51 | 54 | ||
52 | |||
53 | require qemu-targets.inc | ||
54 | inherit pkgconfig bluetooth ptest | ||
55 | |||
56 | # QEMU_TARGETS is overridable variable | 55 | # QEMU_TARGETS is overridable variable |
57 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc riscv32 riscv64 sh4 x86_64" | 56 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc riscv32 riscv64 sh4 x86_64" |
58 | 57 | ||