diff options
Diffstat (limited to 'meta/classes-recipe/qemu.bbclass')
| -rw-r--r-- | meta/classes-recipe/qemu.bbclass | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/classes-recipe/qemu.bbclass b/meta/classes-recipe/qemu.bbclass deleted file mode 100644 index f83faf8049..0000000000 --- a/meta/classes-recipe/qemu.bbclass +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright OpenEmbedded Contributors | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: MIT | ||
| 5 | # | ||
| 6 | |||
| 7 | # | ||
| 8 | # This class contains functions for recipes that need QEMU or test for its | ||
| 9 | # existence. | ||
| 10 | # | ||
| 11 | |||
| 12 | def qemu_target_binary(data): | ||
| 13 | return oe.qemu.qemu_target_binary(data) | ||
| 14 | |||
| 15 | def qemu_wrapper_cmdline(data, rootfs_path, library_paths): | ||
| 16 | return oe.qemu.qemu_wrapper_cmdline(data, rootfs_path, library_paths) | ||
| 17 | |||
| 18 | def qemu_run_binary(data, rootfs_path, binary): | ||
| 19 | return oe.qemu.qemu_run_binary(data, rootfs_path, binary) | ||
| 20 | |||
| 21 | # QEMU_EXTRAOPTIONS is not meant to be directly used, the extensions are | ||
| 22 | # PACKAGE_ARCH, *NOT* overrides. | ||
| 23 | # In some cases (e.g. ppc) simply being arch specific (apparently) isn't good | ||
| 24 | # enough and a PACKAGE_ARCH specific -cpu option is needed (hence we have to do | ||
| 25 | # this dance). For others (e.g. arm) a -cpu option is not necessary, since the | ||
| 26 | # qemu-arm default CPU supports all required architecture levels. | ||
| 27 | QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH')) or ""}" | ||
| 28 | QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH}" | ||
