summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-12-05 09:57:12 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:33 +0100
commitd8b5d6d4fdd54b67e2c6e35b1868216c111fb221 (patch)
tree4afdf4781d718f61f8cf336664765c450e7027fe /rules
parent51dc80b856801f6b0d075f7060943a666f0be25b (diff)
downloadOSELAS.Toolchain-d8b5d6d4fdd54b67e2c6e35b1868216c111fb221.tar.gz
OSELAS.Toolchain-d8b5d6d4fdd54b67e2c6e35b1868216c111fb221.tar.xz
cross-gdb: allow building without python
and use it in build_all_v2.mk. This is used to build the binary toolchains. We want to avoid extra dependencies here. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-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