diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2025-05-30 12:42:23 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-05-29 22:28:02 -0700 |
| commit | acacb59a48ba2b854074ac2a604bdd72dc443266 (patch) | |
| tree | 9fe22a7db9eddf0b5c55ce05b064a735e5f80161 /meta-oe/recipes-support/hdf5 | |
| parent | c21040ea2d463f791bcd4b79e605831504decefa (diff) | |
| download | meta-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-support/hdf5')
| -rw-r--r-- | meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb b/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb index 4ffc875cec..f34e5f183d 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "libs" | |||
| 7 | LICENSE = "HDF5" | 7 | LICENSE = "HDF5" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=adebb1ecf1b3b80c13359e18ef67301e" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=adebb1ecf1b3b80c13359e18ef67301e" |
| 9 | 9 | ||
| 10 | inherit cmake siteinfo multilib_header multilib_script | 10 | inherit cmake siteinfo qemu multilib_header multilib_script |
| 11 | 11 | ||
| 12 | DEPENDS += "qemu-native zlib" | 12 | DEPENDS += "qemu-native zlib" |
| 13 | 13 | ||
| @@ -30,7 +30,7 @@ EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR} | |||
| 30 | gen_emu() { | 30 | gen_emu() { |
| 31 | # Write out a qemu wrapper that will be used by cmake | 31 | # Write out a qemu wrapper that will be used by cmake |
| 32 | # so that it can run target helper binaries through that. | 32 | # so that it can run target helper binaries through that. |
| 33 | 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}')])}" | 33 | qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" |
| 34 | cat > ${WORKDIR}/qemuwrapper << EOF | 34 | cat > ${WORKDIR}/qemuwrapper << EOF |
| 35 | #!/bin/sh | 35 | #!/bin/sh |
| 36 | $qemu_binary "\$@" | 36 | $qemu_binary "\$@" |
