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 adf248993f..86a9156e18 100644
--- a/usr/src/cmd/mdb/Makefile.module
+++ b/usr/src/cmd/mdb/Makefile.module
@@ -92,7 +92,7 @@ ROOTTGTS_raw = $(ROOTMOD)/$(MODULE)
ROOTTGTS = $(ROOTTGTS_$(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.
#
@@ -100,6 +100,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