From 33e01a541465688e9df3eb540d8aff66aea8fedc Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 8 Feb 2018 18:43:17 +0100 Subject: cross-gdb: use Python3 if enabled Signed-off-by: Michael Olbrich --- rules/cross-gdb.make | 2 ++ 1 file changed, 2 insertions(+) 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 := \ -- cgit v1.2.3