diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2025-04-10 06:41:44 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-05-03 01:59:06 -0700 |
| commit | 24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a (patch) | |
| tree | 67235f5bdec7d1dc18519d40044931e3aa16bbe8 /meta-oe/recipes-devtools | |
| parent | 46866b0022690f7408d0c5d7d3a22ba03e3af1a7 (diff) | |
| download | meta-openembedded-24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a.tar.gz | |
recipes: adapt to qemu.bbclass refactoring
Avoid inheriting qemu.bbclass and use oe.qemu.xxx instead.
Also, the 'qemu-native' dep is replaced by 'qemuwrapper-cross' for
PACKAGE_WRITE_DEPS. qemuwrapper-cross is the one that is actually
used by postints and it has 'qemu-native' in DEPENDS.
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.bb | 4 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_22.15.0.bb | 6 |
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 6babba3de7..af15ce61a3 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 | |||
| 28 | LDFLAGS:append:x86-64 = " -lgcc" | 28 | LDFLAGS:append:x86-64 = " -lgcc" |
| 29 | LDFLAGS:append:x86 = " -lgcc" | 29 | LDFLAGS:append:x86 = " -lgcc" |
| 30 | 30 | ||
| 31 | inherit autotools gettext pkgconfig qemu | 31 | inherit autotools gettext pkgconfig |
| 32 | 32 | ||
| 33 | DEPENDS += "qemu-native" | 33 | DEPENDS += "qemu-native" |
| 34 | 34 | ||
| 35 | do_configure() { | 35 | do_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="${@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="${@oe.qemu.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.15.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.15.0.bb index 68c96cc1fb..a255749711 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_22.15.0.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.15.0.bb | |||
| @@ -9,7 +9,7 @@ DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-nati | |||
| 9 | DEPENDS:append:class-target = " qemu-native" | 9 | DEPENDS:append:class-target = " qemu-native" |
| 10 | DEPENDS:append:class-native = " c-ares-native" | 10 | DEPENDS:append:class-native = " c-ares-native" |
| 11 | 11 | ||
| 12 | inherit pkgconfig python3native qemu ptest siteinfo | 12 | inherit pkgconfig python3native ptest siteinfo |
| 13 | 13 | ||
| 14 | COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" | 14 | COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" |
| 15 | COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" | 15 | COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" |
| @@ -108,8 +108,8 @@ python do_create_v8_qemu_wrapper () { | |||
| 108 | on the host.""" | 108 | on the host.""" |
| 109 | qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), | 109 | qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), |
| 110 | d.expand('${STAGING_DIR_HOST}${base_libdir}')] | 110 | d.expand('${STAGING_DIR_HOST}${base_libdir}')] |
| 111 | qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), | 111 | qemu_cmd = oe.qemu.qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), |
| 112 | qemu_libdirs) | 112 | qemu_libdirs) |
| 113 | 113 | ||
| 114 | if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1": | 114 | if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1": |
| 115 | qemu_cmd = "" | 115 | qemu_cmd = "" |
