summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2013-05-27 13:24:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-03 16:58:12 +0100
commit0836bc221e47b27736612d665ca1c279c50e9757 (patch)
tree46d60d9061a883d004bbc26d0ffb0c34ab5457f5 /meta
parent594ab9d3a8525ea1f7c8b90dd12d92794a3fc291 (diff)
downloadpoky-0836bc221e47b27736612d665ca1c279c50e9757.tar.gz
gdb-cross-canadian: use correct exec-prefix path for python
Incorrect exec-prefix path was given to gdb which leads to gdb startup failure when SDK is not installed to its original destination. Gdb relocates the exec-prefix path, so it will work for SDKs that are installed to different location. PYTHONHOME env in no longer neeeded for gdb. [YOCTO #3839] (From OE-Core master rev: e77603324332b932c73c9e22ab65a0b9b7c17798) (From OE-Core rev: a85217740d6d11509d93cab13adf4c6c8aad1e1d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 1f603223d3..3827617ec7 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -17,7 +17,7 @@ cat > ${WORKDIR}/python << EOF
17case "\$2" in 17case "\$2" in
18 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; 18 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
19 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; 19 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
20 --exec-prefix) echo "${exec_prefix}/bin" ;; 20 --exec-prefix) echo "${exec_prefix}" ;;
21 *) exit 1 ;; 21 *) exit 1 ;;
22esac 22esac
23exit 0 23exit 0