diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-native.inc')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-native.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc new file mode 100644 index 0000000000..4373ad9e63 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-native.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | inherit native | ||
2 | |||
3 | require qemu.inc | ||
4 | |||
5 | SRC_URI_append = " \ | ||
6 | file://0012-fix-libcap-header-issue-on-some-distro.patch \ | ||
7 | file://0013-cpus.c-Add-error-messages-when-qemi_cpu_kick_thread-.patch \ | ||
8 | " | ||
9 | EXTRA_OECONF_append = " --python=python2.7" | ||
10 | |||
11 | EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" | ||
12 | |||
13 | LDFLAGS_append = " -fuse-ld=bfd" | ||
14 | |||
15 | do_install_append() { | ||
16 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} | ||
17 | } | ||