[OE-core] [PATCH] qemu/qemu-system-native: depend bison-native

kai.kang at windriver.com kai.kang at windriver.com
Fri Jun 14 01:38:10 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

Add bison-native to DEPENDS of qemu and qemu-system-native to fix
compile warning:

|      BISON dtc-parser.tab.c
| make[1]: bison: Command not found

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta/recipes-devtools/qemu/qemu-system-native_4.0.0.bb | 2 +-
 meta/recipes-devtools/qemu/qemu_4.0.0.bb               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/qemu/qemu-system-native_4.0.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_4.0.0.bb
index 820883df65..964dcee524 100644
--- a/meta/recipes-devtools/qemu/qemu-system-native_4.0.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-system-native_4.0.0.bb
@@ -5,7 +5,7 @@ require qemu-native.inc
 # As some of the files installed by qemu-native and qemu-system-native 
 # are the same, we depend on qemu-native to get the full installation set
 # and avoid file clashes
-DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native"
+DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native bison-native"
 
 EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}"
 
diff --git a/meta/recipes-devtools/qemu/qemu_4.0.0.bb b/meta/recipes-devtools/qemu/qemu_4.0.0.bb
index 247e0311ed..f119215b21 100644
--- a/meta/recipes-devtools/qemu/qemu_4.0.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_4.0.0.bb
@@ -2,7 +2,7 @@ BBCLASSEXTEND = "nativesdk"
 
 require qemu.inc
 
-DEPENDS = "glib-2.0 zlib pixman"
+DEPENDS = "glib-2.0 zlib pixman bison-native"
 
 RDEPENDS_${PN}_class-target += "bash"
 
-- 
2.20.0



More information about the Openembedded-core mailing list