summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/Makefile.module
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/Makefile.module')
-rw-r--r--usr/src/cmd/mdb/Makefile.module8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/Makefile.module b/usr/src/cmd/mdb/Makefile.module
index ed23c5c9dd..ac0e805265 100644
--- a/usr/src/cmd/mdb/Makefile.module
+++ b/usr/src/cmd/mdb/Makefile.module
@@ -102,7 +102,7 @@ LINTFILES_raw = $(LINTOBJS)
LINTFILES = $(LINTFILES_$(MDBTGT))
#
-# Python specific flags. To try and make life easier for folks how are
+# Python specific flags. To try and make life easier for folks who are
# building with an LFS python, we attempt to use -isystem when it's
# available.
#
@@ -110,6 +110,12 @@ PYCPPFLAGS = -_gcc=-isystem -_gcc=$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_V
PYCPPFLAGS += -_cc=-I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
PYLNFLAGS = -I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION)
+#
+# At this time, we do not have python27 in the adjunct proto area, only
+# python26. As such, we explicitly override the python version dmod here.
+#
+PYTHON_VERSION = 2.6
+
kvm_TGTFLAGS = -D_KERNEL
proc_TGTFLAGS = -D_USER