diff options
Diffstat (limited to 'recipes-devtools/qemu/qemu.inc')
-rw-r--r-- | recipes-devtools/qemu/qemu.inc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-devtools/qemu/qemu.inc b/recipes-devtools/qemu/qemu.inc index bf05da9a..532bcf6d 100644 --- a/recipes-devtools/qemu/qemu.inc +++ b/recipes-devtools/qemu/qemu.inc | |||
@@ -6,7 +6,7 @@ a variety of guest operating systems" | |||
6 | HOMEPAGE = "http://qemu.org" | 6 | HOMEPAGE = "http://qemu.org" |
7 | LICENSE = "GPLv2 & LGPLv2.1" | 7 | LICENSE = "GPLv2 & LGPLv2.1" |
8 | 8 | ||
9 | RDEPENDS_${PN}-ptest = "bash make" | 9 | RDEPENDS:${PN}-ptest = "bash make" |
10 | 10 | ||
11 | require qemu-targets.inc | 11 | require qemu-targets.inc |
12 | inherit pkgconfig ptest | 12 | inherit pkgconfig ptest |
@@ -45,14 +45,14 @@ UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" | |||
45 | 45 | ||
46 | SRC_URI[sha256sum] = "c9174eb5933d9eb5e61f541cd6d1184cd3118dfe4c5c4955bc1bdc4d390fa4e5" | 46 | SRC_URI[sha256sum] = "c9174eb5933d9eb5e61f541cd6d1184cd3118dfe4c5c4955bc1bdc4d390fa4e5" |
47 | 47 | ||
48 | COMPATIBLE_HOST_mipsarchn32 = "null" | 48 | COMPATIBLE_HOST:mipsarchn32 = "null" |
49 | COMPATIBLE_HOST_mipsarchn64 = "null" | 49 | COMPATIBLE_HOST:mipsarchn64 = "null" |
50 | 50 | ||
51 | # Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html | 51 | # Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html |
52 | # upstream states qemu doesn't work without optimization | 52 | # upstream states qemu doesn't work without optimization |
53 | DEBUG_BUILD = "0" | 53 | DEBUG_BUILD = "0" |
54 | 54 | ||
55 | do_install_append() { | 55 | do_install:append() { |
56 | # Prevent QA warnings about installed ${localstatedir}/run | 56 | # Prevent QA warnings about installed ${localstatedir}/run |
57 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | 57 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi |
58 | } | 58 | } |
@@ -101,9 +101,9 @@ export LIBTOOL="${HOST_SYS}-libtool" | |||
101 | 101 | ||
102 | B = "${WORKDIR}/build" | 102 | B = "${WORKDIR}/build" |
103 | 103 | ||
104 | EXTRA_OECONF_append = " --python=${HOSTTOOLS_DIR}/python3" | 104 | EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3" |
105 | 105 | ||
106 | do_configure_prepend_class-native() { | 106 | do_configure:prepend:class-native() { |
107 | # Append build host pkg-config paths for native target since the host may provide sdl | 107 | # Append build host pkg-config paths for native target since the host may provide sdl |
108 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") | 108 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") |
109 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then | 109 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then |
@@ -127,7 +127,7 @@ do_install () { | |||
127 | # This will trigger a MMU access fault in the virtual CPU. With this change, | 127 | # This will trigger a MMU access fault in the virtual CPU. With this change, |
128 | # the qemu-mips works fine. | 128 | # the qemu-mips works fine. |
129 | # IMPORTANT: This piece needs to be removed once the root cause is fixed! | 129 | # IMPORTANT: This piece needs to be removed once the root cause is fixed! |
130 | do_install_append() { | 130 | do_install:append() { |
131 | if [ -e "${D}/${bindir}/qemu-mips" ]; then | 131 | if [ -e "${D}/${bindir}/qemu-mips" ]; then |
132 | create_wrapper ${D}/${bindir}/qemu-mips \ | 132 | create_wrapper ${D}/${bindir}/qemu-mips \ |
133 | QEMU_RESERVED_VA=0x0 | 133 | QEMU_RESERVED_VA=0x0 |
@@ -147,8 +147,8 @@ make_qemu_wrapper() { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | # Disable kvm/virgl/mesa on targets that do not support it | 149 | # Disable kvm/virgl/mesa on targets that do not support it |
150 | PACKAGECONFIG_remove_darwin = "kvm virglrenderer glx gtk+" | 150 | PACKAGECONFIG:remove:darwin = "kvm virglrenderer glx gtk+" |
151 | PACKAGECONFIG_remove_mingw32 = "kvm virglrenderer glx gtk+" | 151 | PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer glx gtk+" |
152 | 152 | ||
153 | PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2" | 153 | PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2" |
154 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr," | 154 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr," |
@@ -193,6 +193,6 @@ PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,," | |||
193 | PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," | 193 | PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," |
194 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,," | 194 | PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,," |
195 | 195 | ||
196 | INSANE_SKIP_${PN} = "arch" | 196 | INSANE_SKIP:${PN} = "arch" |
197 | 197 | ||
198 | FILES_${PN} += "${datadir}/icons" | 198 | FILES:${PN} += "${datadir}/icons" |