diff options
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 |
2 files changed, 5 insertions, 4 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 @@ | |||
1 | inherit cross-canadian | 1 | inherit cross-canadian |
2 | inherit python-dir | ||
2 | 3 | ||
3 | DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" | 4 | DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" |
4 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 5 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
@@ -14,9 +15,9 @@ do_configure_prepend() { | |||
14 | cat > ${WORKDIR}/python << EOF | 15 | cat > ${WORKDIR}/python << EOF |
15 | #! /bin/sh | 16 | #! /bin/sh |
16 | case "\$2" in | 17 | case "\$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 ;; |
21 | esac | 22 | esac |
22 | exit 0 | 23 | exit 0 |
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb index dfb7d8122a..8e68c75782 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | require gdb-cross-canadian.inc | 2 | require gdb-cross-canadian.inc |
3 | 3 | ||
4 | PR = "${INC_PR}.4" | 4 | PR = "${INC_PR}.5" |
5 | 5 | ||
6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
7 | EXPAT = "--with-expat" | 7 | EXPAT = "--with-expat" |