summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 47d7d28a2b..2b6069883e 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -1,4 +1,5 @@
1inherit cross-canadian 1inherit cross-canadian
2inherit python-dir
2 3
3DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" 4DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger"
4PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 5PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
@@ -14,9 +15,9 @@ do_configure_prepend() {
14cat > ${WORKDIR}/python << EOF 15cat > ${WORKDIR}/python << EOF
15#! /bin/sh 16#! /bin/sh
16case "\$2" in 17case "\$2" in
17 --includes) echo "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}/" ;; 18 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
18 --ldflags) echo "-L${STAGING_LIBDIR}/../python${PYTHON_BASEVERSION}/config -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}" ;;
19 --exec-prefix) echo "/usr" ;; 20 --exec-prefix) echo "${exec_prefix}/bin" ;;
20 *) exit 1 ;; 21 *) exit 1 ;;
21esac 22esac
22exit 0 23exit 0