summaryrefslogtreecommitdiffstats
path: root/rules/cross-gdb.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/cross-gdb.make')
-rw-r--r--rules/cross-gdb.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make
index 4bba972..f916981 100644
--- a/rules/cross-gdb.make
+++ b/rules/cross-gdb.make
@@ -45,4 +45,9 @@ CROSS_GDB_CONF_OPT := \
--enable-tui \
--with-expat
+# define this from the outside to build without python
+ifdef CROSS_GDB_WITHOUT_PYTHON
+CROSS_GDB_CONF_OPT += --without-python
+endif
+
# vim: syntax=make