diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-10 22:54:59 -0700 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2016-04-06 19:34:34 +0200 |
commit | 28f394f2a4cb3d3184cb670ade282da2a191fe26 (patch) | |
tree | 992a08b751961a845dc19e994a0ef9114ee9e092 | |
parent | a88d9ae8f831156d26e4b1dcae7065ae4e052248 (diff) | |
download | openembedded-core-contrib-28f394f2a4cb3d3184cb670ade282da2a191fe26.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.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 7740f214fffd6278f801899fc5e45f5720cbb544)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-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): # PACKAGE_ARCH, not overrides and hence have to do this dance. Simply being arch # specific isn't good enough. QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH', True), True) or ""}" +QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}" QEMU_EXTRAOPTIONS_iwmmxt = " -cpu pxa270-c5" QEMU_EXTRAOPTIONS_armv6 = " -cpu arm1136" QEMU_EXTRAOPTIONS_armv7a = " -cpu cortex-a8" |