summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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