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


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


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