From d8b5d6d4fdd54b67e2c6e35b1868216c111fb221 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 5 Dec 2013 09:57:12 +0100 Subject: 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 --- build_all_v2.mk | 3 +++ rules/cross-gdb.make | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/build_all_v2.mk b/build_all_v2.mk index 7356aab..7127066 100755 --- a/build_all_v2.mk +++ b/build_all_v2.mk @@ -35,6 +35,9 @@ endif PTXDIST := ./p --force +export PTXDIST_ENV_WHITELIST := CROSS_GDB_WITHOUT_PYTHON +export CROSS_GDB_WITHOUT_PYTHON := y + ifdef BENICE NICE += nice -20 endif 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 -- cgit v1.2.3