diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-09-11 16:55:31 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-09-14 18:38:18 -0700 |
commit | aeb336516b6b590f72f0fdfeb1c6817bc68294c6 (patch) | |
tree | cf8a0460bf7939725f329587cb2587e008062536 /meta/recipes-devtools/qemu/qemu_0.15.1.bb | |
parent | dd3edc9fbb674682947e8218202fdbeef8635dd5 (diff) | |
download | poky-aeb336516b6b590f72f0fdfeb1c6817bc68294c6.tar.gz |
nativesdk-qemu: fix SDK relocation issue
User mode emulation binaries are linked using a local linker script. The
nativesdk ones were not used and the resulting binaries did not have the
interp section resized. Hence, those binaries could not be relocated.
[YOCTO #3083]
(From OE-Core rev: da014e900adfe96f01290c5a8f5fb08e295ca204)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_0.15.1.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_0.15.1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_0.15.1.bb b/meta/recipes-devtools/qemu/qemu_0.15.1.bb index f4c86f0c63..3f0b6935e7 100644 --- a/meta/recipes-devtools/qemu/qemu_0.15.1.bb +++ b/meta/recipes-devtools/qemu/qemu_0.15.1.bb | |||
@@ -29,6 +29,12 @@ SRC_URI[sha256sum] = "7705b14d9b8e4df4a0b1790980e618084261e8daef0672a1aa7a830a0f | |||
29 | 29 | ||
30 | S = "${WORKDIR}/qemu-${PV}" | 30 | S = "${WORKDIR}/qemu-${PV}" |
31 | 31 | ||
32 | PR = "r1" | ||
33 | |||
34 | SRC_URI_append_virtclass-nativesdk = "\ | ||
35 | file://relocatable_sdk.patch \ | ||
36 | " | ||
37 | |||
32 | do_configure_prepend_virtclass-nativesdk() { | 38 | do_configure_prepend_virtclass-nativesdk() { |
33 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then | 39 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then |
34 | # Undo the -lX11 added by linker-flags.patch | 40 | # Undo the -lX11 added by linker-flags.patch |