diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-27 13:24:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-03 16:58:12 +0100 |
commit | 0836bc221e47b27736612d665ca1c279c50e9757 (patch) | |
tree | 46d60d9061a883d004bbc26d0ffb0c34ab5457f5 /meta/recipes-devtools/gdb | |
parent | 594ab9d3a8525ea1f7c8b90dd12d92794a3fc291 (diff) | |
download | poky-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/recipes-devtools/gdb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 2 |
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 | |||
17 | case "\$2" in | 17 | case "\$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 ;; |
22 | esac | 22 | esac |
23 | exit 0 | 23 | exit 0 |