Print this page
NEX-16705 Turn off globallint
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
re #13842 make clobber leaves trash


 114 
 115 #
 116 # Definitions for the /platform directory aliases.
 117 # Currently none for i86xpv.
 118 #
 119 PLAT_LINKS      =
 120 
 121 #
 122 # Make the /platform directories.  This is hardwired here because
 123 # the first stage of the project (KBI) only implements the userland
 124 # changes, but the only reasonable place to record the aliases is
 125 # here in kernel land.
 126 #
 127 install_platforms:      $(ROOT_PSM_DIR) $(USR_PSM_DIR) \
 128                         $(ROOT_PLAT_LINKS) $(USR_PLAT_LINKS) \
 129                         $(OEM_USR_PLAT_LINKS)
 130 
 131 #
 132 #       Full kernel lint target.
 133 #
 134 LINT_TARGET     = globallint
 135 
 136 # workaround for multiply defined errors
 137 globallint := LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
 138 
 139 globallint:
 140         @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
 141         @-$(LINT) $(LINTFLAGS) $(LINT_LIB) $(LINT_LIBS) 2>&1 | $(LGREP.2)
 142 
 143 lint:   lintlib .WAIT modlintlib .WAIT $(INTEL_LINTS) $(LINT_DEPS)
 144 
 145 $(INTEL_LINTS): FRC
 146         @cd $(UTSBASE)/intel/$@; pwd; $(MAKE) modlintlib
 147 
 148 FRC:
 149 
 150 include ../Makefile.targ
 151 
 152 #
 153 # Cross-reference customization: build a cross-reference over all of the
 154 # i86pc-related directories.


 114 
 115 #
 116 # Definitions for the /platform directory aliases.
 117 # Currently none for i86xpv.
 118 #
 119 PLAT_LINKS      =
 120 
 121 #
 122 # Make the /platform directories.  This is hardwired here because
 123 # the first stage of the project (KBI) only implements the userland
 124 # changes, but the only reasonable place to record the aliases is
 125 # here in kernel land.
 126 #
 127 install_platforms:      $(ROOT_PSM_DIR) $(USR_PSM_DIR) \
 128                         $(ROOT_PLAT_LINKS) $(USR_PLAT_LINKS) \
 129                         $(OEM_USR_PLAT_LINKS)
 130 
 131 #
 132 #       Full kernel lint target.
 133 #
 134 LINT_TARGET     = # globallint
 135 
 136 # workaround for multiply defined errors
 137 globallint := LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
 138 
 139 globallint:
 140         @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
 141         @-$(LINT) $(LINTFLAGS) $(LINT_LIB) $(LINT_LIBS) 2>&1 | $(LGREP.2)
 142 
 143 lint:   lintlib .WAIT modlintlib .WAIT $(INTEL_LINTS) $(LINT_DEPS)
 144 
 145 $(INTEL_LINTS): FRC
 146         @cd $(UTSBASE)/intel/$@; pwd; $(MAKE) modlintlib
 147 
 148 FRC:
 149 
 150 include ../Makefile.targ
 151 
 152 #
 153 # Cross-reference customization: build a cross-reference over all of the
 154 # i86pc-related directories.