summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyllys Ingersoll <Wyllys.Ingersoll@Sun.COM>2009-03-26 14:05:31 -0700
committerWyllys Ingersoll <Wyllys.Ingersoll@Sun.COM>2009-03-26 14:05:31 -0700
commitd553bafd8687032230dfa65449d7e52c251c5293 (patch)
treecb54d4cf0b4c90fe7c071ab6bbb563654f158c05
parentaaad92d017a1c5dd74caf325dbb299e629edc748 (diff)
downloadillumos-joyent-d553bafd8687032230dfa65449d7e52c251c5293.tar.gz
6820986 integration of 6771289 (PSARC 2008/725 TPM Support) breaks the nightly kernel lint
-rw-r--r--usr/src/uts/intel/tpm/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/uts/intel/tpm/Makefile b/usr/src/uts/intel/tpm/Makefile
index 78eac813eb..8a62cc5dfc 100644
--- a/usr/src/uts/intel/tpm/Makefile
+++ b/usr/src/uts/intel/tpm/Makefile
@@ -56,8 +56,13 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
LDFLAGS += -dy
-CFLAGS += -xCC -I/usr/include
-LINTFLAGS += -I/usr/include
+CFLAGS += -xCC
+
+# This is for everything except /usr/include/tss/
+CPPFLAGS += -I$(ROOT)/usr/include
+
+# This is for /usr/include/tss/, which is not built in the ON consolidation
+CPPFLAGS += -I/usr/include
#
# Default build targets.