summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc2
-rw-r--r--meta/recipes-devtools/gdb/gdb_7.10.1.bb4
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 06272a99a3..0d28ee4eef 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -45,6 +45,8 @@ EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \
45PACKAGECONFIG ??= "readline" 45PACKAGECONFIG ??= "readline"
46# Use --without-system-readline to compile with readline 5. 46# Use --without-system-readline to compile with readline 5.
47PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" 47PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
48PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python,python python-codecs"
49PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
48 50
49GDBPROPREFIX = "--program-prefix=''" 51GDBPROPREFIX = "--program-prefix=''"
50 52
diff --git a/meta/recipes-devtools/gdb/gdb_7.10.1.bb b/meta/recipes-devtools/gdb/gdb_7.10.1.bb
index cd52e27d56..f897e1213e 100644
--- a/meta/recipes-devtools/gdb/gdb_7.10.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.10.1.bb
@@ -3,10 +3,6 @@ require gdb-${PV}.inc
3 3
4inherit python-dir 4inherit python-dir
5 5
6PACKAGECONFIG ??= ""
7PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python,python python-codecs"
8PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
9
10do_configure_prepend() { 6do_configure_prepend() {
11 if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then 7 if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
12 cat > ${WORKDIR}/python << EOF 8 cat > ${WORKDIR}/python << EOF