diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-09-11 16:55:31 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-12 15:13:40 +0100 |
commit | c8e3e0149a23ee7f1477a73821d09e68883d988a (patch) | |
tree | e2246a82d611af81c7c4bdff1142f648f18fa3eb /meta/recipes-devtools/qemu/qemu_1.2.0.bb | |
parent | de69c6c94ef91182422b35374ea0d18d249fccf0 (diff) | |
download | poky-c8e3e0149a23ee7f1477a73821d09e68883d988a.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_1.2.0.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb index 55ac532535..7091f6d97f 100644 --- a/meta/recipes-devtools/qemu/qemu_1.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu_1.2.0.bb | |||
@@ -17,6 +17,12 @@ SRC_URI = "\ | |||
17 | SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61" | 17 | SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61" |
18 | SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936" | 18 | SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936" |
19 | 19 | ||
20 | PR = "r1" | ||
21 | |||
22 | SRC_URI_append_virtclass-nativesdk = "\ | ||
23 | file://relocatable_sdk.patch \ | ||
24 | " | ||
25 | |||
20 | do_configure_prepend_virtclass-nativesdk() { | 26 | do_configure_prepend_virtclass-nativesdk() { |
21 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then | 27 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then |
22 | # Undo the -lX11 added by linker-flags.patch | 28 | # Undo the -lX11 added by linker-flags.patch |