diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-27 13:24:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-29 22:07:22 +0100 |
commit | e77603324332b932c73c9e22ab65a0b9b7c17798 (patch) | |
tree | 3393686db15fe601ea77b741e0ccda7ed65d3b9c /meta | |
parent | 2489151dbfc8bc002d89ab199d457ab3794c54a8 (diff) | |
download | openembedded-core-e77603324332b932c73c9e22ab65a0b9b7c17798.tar.gz openembedded-core-e77603324332b932c73c9e22ab65a0b9b7c17798.tar.bz2 openembedded-core-e77603324332b932c73c9e22ab65a0b9b7c17798.zip |
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]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-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 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 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 |