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/vfalls/Makefile
          +++ new/usr/src/uts/sun4v/vfalls/Makefile
↓ open down ↓ 11 lines elided ↑ open up ↑
  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      -# uts/sun4v/vfalls/Makefile
  23   22  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   23  # Use is subject to license terms.
       24 +
  25   25  #
  26      -#ident  "%Z%%M% %I%     %E% SMI"
  27   26  #
  28   27  #       This makefile drives the production of the UltraSPARC-T2+ cpu module.
  29   28  #
  30   29  #       sun4v implementation architecture dependent
  31   30  #
  32   31  
  33   32  #
  34   33  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35   34  #
  36   35  UTSBASE = ../..
↓ open down ↓ 62 lines elided ↑ open up ↑
  99   98  clobber:        $(CLOBBER_DEPS)
 100   99  
 101  100  lint:           $(LINT_DEPS)
 102  101  
 103  102  modlintlib:     $(MODLINTLIB_DEPS)
 104  103  
 105  104  clean.lint:     $(CLEAN_LINT_DEPS)
 106  105  
 107  106  install:        $(INSTALL_DEPS)
 108  107  
 109      -$(CPULIB):      $(BINARY)
 110      -        $(BUILD.SO) $(BINARY)
      108 +$(CPULIB):      $(OBJECTS)
      109 +        $(BUILD.SO) $(OBJECTS)
 111  110  
 112  111  $(SYM_MOD):     $(UNIX_O) $(CPULIB)
 113  112          @echo "resolving symbols against unix.o"
 114  113          @(cd $(UNIX_DIR); pwd; \
 115  114              CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 116  115  
 117  116  #       Include common targets.
 118  117  #
 119  118  include $(UTSBASE)/$(PLATFORM)/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX