summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
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-05-29 22:07:55 +0100
commit0d2211a41ccfb59296091059fc0ee569a8c6e13f (patch)
tree336faa8a03df81a61bf85d058842d671e05d7470 /meta/recipes-devtools/gdb
parent40187e50dac1384ab0c5afa882a38f59ab07e762 (diff)
downloadpoky-0d2211a41ccfb59296091059fc0ee569a8c6e13f.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 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/gdb')
-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 f6f515cbf6..3cb347b4c5 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -19,7 +19,7 @@ cat > ${WORKDIR}/python << EOF
19case "\$2" in 19case "\$2" in
20 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; 20 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
21 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; 21 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
22 --exec-prefix) echo "${exec_prefix}/bin" ;; 22 --exec-prefix) echo "${exec_prefix}" ;;
23 *) exit 1 ;; 23 *) exit 1 ;;
24esac 24esac
25exit 0 25exit 0