diff options
author | Steven Stallion <sstallion@opensolaris.org> | 2010-03-25 22:28:16 -0700 |
---|---|---|
committer | Steven Stallion <sstallion@opensolaris.org> | 2010-03-25 22:28:16 -0700 |
commit | 0465c9200f221c8804cdfebefe1d5d6b3e64041e (patch) | |
tree | bbd0645a003ac8826ace4eafd2150bfb9feb2dcb | |
parent | cc7ef4959916befd1d1197845b5b82284d96c450 (diff) | |
download | illumos-joyent-0465c9200f221c8804cdfebefe1d5d6b3e64041e.tar.gz |
6933958 Makefile.$(MACH) sets incorrect LINTFLAGS
Contributed by Steven Stallion
-rw-r--r-- | usr/src/uts/intel/Makefile.intel | 4 | ||||
-rw-r--r-- | usr/src/uts/sparc/Makefile.sparc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/uts/intel/Makefile.intel b/usr/src/uts/intel/Makefile.intel index 40eb973745..1f515c8086 100644 --- a/usr/src/uts/intel/Makefile.intel +++ b/usr/src/uts/intel/Makefile.intel @@ -20,7 +20,7 @@ # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -33,4 +33,4 @@ include $(UTSBASE)/intel/Makefile.intel.shared # for the lint builds so as not to cause lint errors during the # global cross check. # -LINTFLAGS += -D_MACHDEP -I../../i86pc +LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/i86pc diff --git a/usr/src/uts/sparc/Makefile.sparc b/usr/src/uts/sparc/Makefile.sparc index 4fe4ec1624..c5e313e0b9 100644 --- a/usr/src/uts/sparc/Makefile.sparc +++ b/usr/src/uts/sparc/Makefile.sparc @@ -19,7 +19,7 @@ # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -32,5 +32,5 @@ include $(UTSBASE)/sparc/Makefile.sparc.shared # for the lint builds so as not to cause lint errors during the # global cross check. # -$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../sun4u \ - -I../../sfmmu +$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \ + -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu |