Print this page
10593 illumos build should not use kernel modules as link-editor input

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/ontario/platmod/Makefile
          +++ new/usr/src/uts/sun4v/ontario/platmod/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27      -#
  28   26  
  29   27  #
  30      -#       This makefile drives the production of the sun4v ontario default 
       28 +#       This makefile drives the production of the sun4v ontario default
  31   29  #       platform module.
  32   30  #
  33   31  #       sun4v implementation architecture dependent
  34   32  #
  35   33  
  36   34  #
  37   35  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  38   36  #
  39   37  UTSBASE = ../../..
  40   38  
↓ open down ↓ 55 lines elided ↑ open up ↑
  96   94  modlintlib:     $(MODLINTLIB_DEPS)
  97   95  
  98   96  clean.lint:     $(CLEAN_LINT_DEPS)
  99   97  
 100   98  install:        $(INSTALL_DEPS)
 101   99  
 102  100  check:
 103  101  
 104  102  LINT_LIB_DIR    =$(ONTARIO_LINT_LIB_DIR)
 105  103  
 106      -$(PLATLIB):     $(BINARY)
 107      -        $(BUILD.SO) $(BINARY)
      104 +$(PLATLIB):     $(OBJECTS)
      105 +        $(BUILD.SO) $(OBJECTS)
 108  106  
 109  107  $(SYM_MOD):     $(UNIX_O) $(PLATLIB)
 110  108          @echo "resolving symbols against unix.o"
 111  109          @(cd $(UNIX_DIR); pwd; \
 112  110              PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 113  111  
 114  112  #
 115  113  #       Include common targets.
 116  114  #
 117  115  include $(UTSBASE)/sun4v/ontario/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX