From c8e3e0149a23ee7f1477a73821d09e68883d988a Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Tue, 11 Sep 2012 16:55:31 +0300 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/recipes-devtools/qemu/qemu_1.2.0.bb') 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 = "\ SRC_URI[md5sum] = "78eb1e984f4532aa9f2bdd3c127b5b61" SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936" +PR = "r1" + +SRC_URI_append_virtclass-nativesdk = "\ + file://relocatable_sdk.patch \ + " + do_configure_prepend_virtclass-nativesdk() { if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then # Undo the -lX11 added by linker-flags.patch -- cgit v1.2.3-54-g00ecf