diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-12-05 09:57:12 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-12-19 15:55:33 +0100 |
commit | d8b5d6d4fdd54b67e2c6e35b1868216c111fb221 (patch) | |
tree | 4afdf4781d718f61f8cf336664765c450e7027fe | |
parent | 51dc80b856801f6b0d075f7060943a666f0be25b (diff) | |
download | OSELAS.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>
-rwxr-xr-x | build_all_v2.mk | 3 | ||||
-rw-r--r-- | rules/cross-gdb.make | 5 |
2 files changed, 8 insertions, 0 deletions
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 |