summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-08 18:43:17 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-09 10:24:35 +0100
commit33e01a541465688e9df3eb540d8aff66aea8fedc (patch)
tree0d4d31fdbb55dd3d207f4ab8285d927074ae50cc
parent2919fd1ef99eba4fd342f278d391333cc7c0a2fb (diff)
downloadOSELAS.Toolchain-33e01a541465688e9df3eb540d8aff66aea8fedc.tar.gz
OSELAS.Toolchain-33e01a541465688e9df3eb540d8aff66aea8fedc.tar.xz
cross-gdb: use Python3 if enabled
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/cross-gdb.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make
index d2df734..402dcef 100644
--- a/rules/cross-gdb.make
+++ b/rules/cross-gdb.make
@@ -50,6 +50,8 @@ CROSS_GDB_CONF_OPT := \
# define this from the outside to build without python
ifeq ($(CROSS_GDB_WITHOUT_PYTHON),y)
CROSS_GDB_CONF_OPT += --without-python
+else
+CROSS_GDB_CONF_OPT += --with-python=python3
endif
CROSS_GDB_INSTALL_OPT := \