diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-10 22:54:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-24 15:55:41 +0000 |
commit | 13a4c383c1f6f04ee6927d10c0d700e58b8f201b (patch) | |
tree | 1699cc0ef3e898d1179fe37e96aec3022c6fc327 /meta/classes | |
parent | 51bd011f8b883aa464b0a613a616c08880588901 (diff) | |
download | poky-13a4c383c1f6f04ee6927d10c0d700e58b8f201b.tar.gz |
qemu.bbclass: fix vardeps of QEMU_OPTIONS
The variable name for QEMU_EXTRAOPTIONS is constructed programmatically, so we
need an explicit variable dependency, otherwise changes to it won't cause e.g.
qemuwrapper-cross to be rebuilt.
(From OE-Core rev: 7740f214fffd6278f801899fc5e45f5720cbb544)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/qemu.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index 064b57e11c..315c17f2ff 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass | |||
@@ -39,6 +39,7 @@ def qemu_run_binary(data, rootfs_path, binary): | |||
39 | # PACKAGE_ARCH, not overrides and hence have to do this dance. Simply being arch | 39 | # PACKAGE_ARCH, not overrides and hence have to do this dance. Simply being arch |
40 | # specific isn't good enough. | 40 | # specific isn't good enough. |
41 | QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH', True), True) or ""}" | 41 | QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH', True), True) or ""}" |
42 | QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}" | ||
42 | QEMU_EXTRAOPTIONS_iwmmxt = " -cpu pxa270-c5" | 43 | QEMU_EXTRAOPTIONS_iwmmxt = " -cpu pxa270-c5" |
43 | QEMU_EXTRAOPTIONS_armv6 = " -cpu arm1136" | 44 | QEMU_EXTRAOPTIONS_armv6 = " -cpu arm1136" |
44 | QEMU_EXTRAOPTIONS_armv7a = " -cpu cortex-a8" | 45 | QEMU_EXTRAOPTIONS_armv7a = " -cpu cortex-a8" |