summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-12-11 12:51:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-12 08:14:54 +0100
commita148c139b89ca35541a4721d53dc5fddd664453d (patch)
tree2e0ea194954c5eb35b85a873153d5eea0f2e163a
parent10bf3914d28949a4d6468bdfffc3c5e377393e61 (diff)
downloadOSELAS.Toolchain-a148c139b89ca35541a4721d53dc5fddd664453d.tar.gz
build_all_v2.mk: allow enabling python
The debian packages contain the correct dependencies now, so make it possible to build python enabled gdb with build_all_v2.mk Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xbuild_all_v2.mk2
-rw-r--r--rules/cross-gdb.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/build_all_v2.mk b/build_all_v2.mk
index cf0bee9..a1d433a 100755
--- a/build_all_v2.mk
+++ b/build_all_v2.mk
@@ -20,7 +20,7 @@ PTXDIST := ./p --force
ARG := images
export PTXDIST_ENV_WHITELIST := CROSS_GDB_WITHOUT_PYTHON
-export CROSS_GDB_WITHOUT_PYTHON := y
+export CROSS_GDB_WITHOUT_PYTHON ?= y
ifdef BENICE
NICE += nice -20
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make
index f916981..0babb36 100644
--- a/rules/cross-gdb.make
+++ b/rules/cross-gdb.make
@@ -46,7 +46,7 @@ CROSS_GDB_CONF_OPT := \
--with-expat
# define this from the outside to build without python
-ifdef CROSS_GDB_WITHOUT_PYTHON
+ifeq ($(CROSS_GDB_WITHOUT_PYTHON),y)
CROSS_GDB_CONF_OPT += --without-python
endif