diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2014-08-17 15:10:01 -0700 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-08-26 23:46:55 +0200 |
commit | 2a275f6cc89fc80a573a35de8300483e45fa5b73 (patch) | |
tree | 4512dba474a1ea3520da69279e1d6077b5fc9712 | |
parent | d1eb5347cf9c02bb6ca92eb7f2f34bd799dd0780 (diff) | |
download | crosstool-ng-2a275f6cc89fc80a573a35de8300483e45fa5b73.tar.gz crosstool-ng-2a275f6cc89fc80a573a35de8300483e45fa5b73.tar.bz2 crosstool-ng-2a275f6cc89fc80a573a35de8300483e45fa5b73.zip |
debug/gdb: add GDB_HAS_PYTHON
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
-rw-r--r-- | config/debug/gdb.in | 4 | ||||
-rw-r--r-- | config/debug/gdb.in.cross | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in index 3aaff8e1..a3f19302 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -147,11 +147,15 @@ config GDB_7_2_or_later config GDB_7_0_or_later bool select GDB_HAS_PKGVERSION_BUGURL + select GDB_HAS_PYTHON select GDB_INSTALL_GDBINIT 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 7e66ce5d..549cba23 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 |