diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 20 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 |
2 files changed, 20 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index ec0748e527..a7cac615d8 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
@@ -4,4 +4,22 @@ DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" | |||
4 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 4 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
5 | BPN = "gdb" | 5 | BPN = "gdb" |
6 | 6 | ||
7 | DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk readline-nativesdk" | 7 | DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk readline-nativesdk python-nativesdk" |
8 | RDEPENDS += "python-nativesdk-core python-nativesdk-lang python-nativesdk-re \ | ||
9 | python-nativesdk-codecs python-nativesdk-netclient" | ||
10 | |||
11 | EXTRA_OECONF_append = "--with-python=${WORKDIR}/python" | ||
12 | |||
13 | do_configure_prepend() { | ||
14 | cat > ${WORKDIR}/python << EOF | ||
15 | #! /bin/sh | ||
16 | case "\$2" in | ||
17 | --includes) echo "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}/" ;; | ||
18 | --ldflags) echo "-L${STAGING_LIBDIR}/../python${PYTHON_BASEVERSION}/config -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; | ||
19 | --exec-prefix) echo "/usr" ;; | ||
20 | *) exit 1 ;; | ||
21 | esac | ||
22 | exit 0 | ||
23 | EOF | ||
24 | chmod +x ${WORKDIR}/python | ||
25 | } | ||
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 a4714e78bd..dbcffde4e9 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}.1" | 4 | PR = "${INC_PR}.3" |
5 | 5 | ||
6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
7 | EXPAT = "--with-expat" | 7 | EXPAT = "--with-expat" |