diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-01-10 13:01:15 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-11 18:34:15 +0000 |
| commit | a1b9c06ff51fd041adc29f8f673a1fe40275d75d (patch) | |
| tree | 0cd0a5a8df59bb433e69cb85a05fdfd4fab91864 /meta/classes-recipe/qemu.bbclass | |
| parent | 0165c71b10925aab8dcfd9acffad09001541e20a (diff) | |
| download | poky-a1b9c06ff51fd041adc29f8f673a1fe40275d75d.tar.gz | |
qemu/machine: rename QEMU_EXTRAOPTIONS for consistency
The per-tune qemu options variable is QEMU_EXTRAOPTIONS_${TUNE_PKGARCH},
but this doesn't follow the pattern of all of the other tune-specific
variables in the machine configuration which is VARIABLE:tune-[name].
Rename QEMU_EXTRAOPTIONS_${TUNE_PKGARCH} to
QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH} for consistency.
Note that this will mean that BSPs need to update any assignments of
this variable.
(From OE-Core rev: 7f981d074442b901f7e64dbdb9db851ff31c3733)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/qemu.bbclass')
| -rw-r--r-- | meta/classes-recipe/qemu.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/qemu.bbclass b/meta/classes-recipe/qemu.bbclass index 42a39dd059..e9fe757c7f 100644 --- a/meta/classes-recipe/qemu.bbclass +++ b/meta/classes-recipe/qemu.bbclass | |||
| @@ -60,5 +60,5 @@ def qemu_run_binary(data, rootfs_path, binary): | |||
| 60 | # this dance). For others (e.g. arm) a -cpu option is not necessary, since the | 60 | # this dance). For others (e.g. arm) a -cpu option is not necessary, since the |
| 61 | # qemu-arm default CPU supports all required architecture levels. | 61 | # qemu-arm default CPU supports all required architecture levels. |
| 62 | 62 | ||
| 63 | QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('TUNE_PKGARCH')) or ""}" | 63 | QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH')) or ""}" |
| 64 | QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${TUNE_PKGARCH}" | 64 | QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH}" |
