aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2013-05-27 13:24:45 +0300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-05-31 16:03:36 +0100
commita85217740d6d11509d93cab13adf4c6c8aad1e1d (patch)
tree8b91f0c5666ba71946d23b60acf6ac695065c2d9 /meta/recipes-devtools
parentad527115ad122df957e204d4af57edf600f9d419 (diff)
downloadopenembedded-core-a85217740d6d11509d93cab13adf4c6c8aad1e1d.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) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-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
case "\$2" in
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
- --exec-prefix) echo "${exec_prefix}/bin" ;;
+ --exec-prefix) echo "${exec_prefix}" ;;
*) exit 1 ;;
esac
exit 0