summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-05-30 12:42:23 +0800
committerKhem Raj <raj.khem@gmail.com>2025-05-29 22:28:02 -0700
commitacacb59a48ba2b854074ac2a604bdd72dc443266 (patch)
tree9fe22a7db9eddf0b5c55ce05b064a735e5f80161 /meta-oe/recipes-devtools
parentc21040ea2d463f791bcd4b79e605831504decefa (diff)
downloadmeta-openembedded-acacb59a48ba2b854074ac2a604bdd72dc443266.tar.gz
Revert "recipes: adapt to qemu.bbclass refactoring"
This reverts commit 24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a. The original patch was my bad. The patches for oe-core were re-worked, but I forgot the recall this patch. In fact, inheriting qemu is needed because it sets a clear barriar for people to use qemu user mode. And the QEMU_OPTIONS settings are also in qemu.bbclass. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb4
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb6
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb b/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb
index af15ce61a3..6babba3de7 100644
--- a/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb
+++ b/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb
@@ -28,13 +28,13 @@ PACKAGECONFIG[fortran] = "--with-cross=${WORKDIR}/cross_values.txt --enable-fort
28LDFLAGS:append:x86-64 = " -lgcc" 28LDFLAGS:append:x86-64 = " -lgcc"
29LDFLAGS:append:x86 = " -lgcc" 29LDFLAGS:append:x86 = " -lgcc"
30 30
31inherit autotools gettext pkgconfig 31inherit autotools gettext pkgconfig qemu
32 32
33DEPENDS += "qemu-native" 33DEPENDS += "qemu-native"
34 34
35do_configure() { 35do_configure() {
36 if [ "${@bb.utils.contains('PACKAGECONFIG', 'fortran', '1', '', d)}" = "1" ]; then 36 if [ "${@bb.utils.contains('PACKAGECONFIG', 'fortran', '1', '', d)}" = "1" ]; then
37 qemu_binary="${@oe.qemu.qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" 37 qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}"
38 cat > ${WORKDIR}/qemuwrapper << EOF 38 cat > ${WORKDIR}/qemuwrapper << EOF
39#!/bin/sh 39#!/bin/sh
40$qemu_binary "\$@" 40$qemu_binary "\$@"
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb
index c2bf3b6bd3..43d9b99fd8 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb
@@ -9,7 +9,7 @@ DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-nati
9DEPENDS:append:class-target = " qemu-native" 9DEPENDS:append:class-target = " qemu-native"
10DEPENDS:append:class-native = " c-ares-native" 10DEPENDS:append:class-native = " c-ares-native"
11 11
12inherit pkgconfig python3native ptest siteinfo 12inherit pkgconfig python3native qemu ptest siteinfo
13 13
14COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" 14COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*"
15COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" 15COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*"
@@ -107,8 +107,8 @@ python do_create_v8_qemu_wrapper () {
107 on the host.""" 107 on the host."""
108 qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), 108 qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'),
109 d.expand('${STAGING_DIR_HOST}${base_libdir}')] 109 d.expand('${STAGING_DIR_HOST}${base_libdir}')]
110 qemu_cmd = oe.qemu.qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), 110 qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'),
111 qemu_libdirs) 111 qemu_libdirs)
112 112
113 if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1": 113 if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1":
114 qemu_cmd = "" 114 qemu_cmd = ""