[PATCH 3/3] [config/gdb] Add GDB_HAS_PYTHON
Bryan Hundven
bryanhundven@gmail.com
Fri Aug 15 22:21:00 GMT 2014
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
---
config/debug/gdb.in | 4 ++++
config/debug/gdb.in.cross | 1 +
2 files changed, 5 insertions(+)
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 26884ab..6f39196 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -176,6 +176,7 @@ config GDB_7_1_or_later
config GDB_7_0_or_later
bool
select GDB_HAS_PKGVERSION_BUGURL
+ select GDB_HAS_PYTHON
select GDB_INSTALL_GDBINIT
select GDB_6_8_or_later
@@ -185,6 +186,9 @@ config GDB_6_8_or_later
config GDB_HAS_PKGVERSION_BUGURL
bool
+config GDB_HAS_PYTHON
+ bool
+
config GDB_INSTALL_GDBINIT
bool
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index 7e66ce5..549cba2 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -35,6 +35,7 @@ config GDB_CROSS_SIM
config GDB_CROSS_PYTHON
bool
prompt "Enable python scripting"
+ depends on GDB_HAS_PYTHON
depends on ! GDB_CROSS_STATIC
default y
help
--
2.1.0.rc1
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list