Print this page
    
NEX-16705 Turn off globallint
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
NEX-9559 remove nza-closed cruft
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Fix up some merges where we wanted the upstream version.
Adding AoE support to nza-kernel
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/uts/sparc/Makefile
          +++ new/usr/src/uts/sparc/Makefile
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # uts/sparc/Makefile
  26   26  #
  27   27  #       This makefile drives the production of all implementation architecture
  28   28  #       independent modules for the SPARC processor. (For those unsure, this
  29   29  #       means the module will run on all SPARC processor based machines
  30   30  #       running SunOS.)
  31   31  
  32   32  UTSBASE = ..
  33   33  
  34   34  include Makefile.sparc
  35   35  
  36   36  LINT_KMODS_X1   = $(LINT_KMODS:nsmb=)
  37   37  LINT_KMODS_X2   = $(LINT_KMODS_X1:smbfs=)
  38   38  LINT_KMODLIBS   = $(LINT_KMODS_X2:e1000g=)
  39   39  LINT_LIBS       = $(LINT_LIB) $(GEN_LINT_LIB) \
  40   40                    $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
  41   41                    $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
  42   42  
  43   43  DRV_KMODS       += dprov
  44   44  
  45   45  def             :=      TARGET= def
  46   46  all             :=      TARGET= all
  47   47  install         :=      TARGET= install
  48   48  clean           :=      TARGET= clean
  49   49  clobber         :=      TARGET= clobber
  50   50  lint            :=      TARGET= lint
  51   51  modlintlib      :=      TARGET= modlintlib
  52   52  modlist         :=      TARGET= modlist
  53   53  modlist         :=      NO_STATE= -K $$MODSTATE$$$$
  54   54  clean.lint      :=      TARGET= clean.lint
  55   55  check           :=      TARGET= check
  56   56  install_h       :=      TARGET= install_h
  57   57  
  58   58  .KEEP_STATE:
  59   59  
  60   60  .PARALLEL:      $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
  61   61  
  62   62  def all install clean clobber modlist: $(KMODS) $(XMODS) config
  63   63  
  64   64  modlintlib clean.lint: $(LINT_KMODS) $(XMODS)
  65   65  
  66   66  $(KMODS) config:        FRC
  67   67          @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
  68   68  
  69   69  $(XMODS):       FRC
  70   70          @if [ -f $@/Makefile  ]; then \
  71   71                  cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
  72   72          else \
  73   73                  true; \
  74   74          fi
  
    | 
      ↓ open down ↓ | 
    74 lines elided | 
    
      ↑ open up ↑ | 
  
  75   75  
  76   76  install_h check:        FRC
  77   77          @cd asm; pwd; $(MAKE) $(TARGET)
  78   78          @cd sys; pwd; $(MAKE) $(TARGET)
  79   79          @cd v7/sys; pwd; $(MAKE) $(TARGET)
  80   80          @cd v9/sys; pwd; $(MAKE) $(TARGET)
  81   81  
  82   82  #
  83   83  #       Full kernel lint target.
  84   84  #
  85      -LINT_TARGET     = globallint
       85 +LINT_TARGET     = # globallint
  86   86  
  87   87  globallint:
  88   88          @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
  89   89          @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
  90   90  
  91   91  lint:   modlintlib .WAIT $(LINT_DEPS)
  92   92  
  93   93  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX