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/sun4u/enchilada/platmod/Makefile
          +++ new/usr/src/uts/sun4u/enchilada/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   28  # This makefile drives the production of the sun4u enchilada platform module.
  31   29  #
  32   30  # sun4u implementation architecture dependent
  33   31  #
  34   32  
  35   33  #
  36   34  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  37   35  #
↓ open down ↓ 50 lines elided ↑ open up ↑
  88   86  modlintlib:     $(MODLINTLIB_DEPS)
  89   87  
  90   88  clean.lint:     $(CLEAN_LINT_DEPS)
  91   89  
  92   90  install:        $(INSTALL_DEPS)
  93   91  
  94   92  check:
  95   93  
  96   94  LINT_LIB_DIR    = $(ENCHILADA_LINT_LIB_DIR)
  97   95  
  98      -$(PLATLIB):     $(BINARY)
  99      -        $(BUILD.SO) $(BINARY)
       96 +$(PLATLIB):     $(OBJECTS)
       97 +        $(BUILD.SO) $(OBJECTS)
 100   98  
 101   99  $(SYM_MOD):     $(UNIX_O) $(PLATLIB)
 102  100          @echo "resolving symbols against unix.o"
 103  101          @(cd $(UNIX_DIR); pwd; \
 104  102              PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 105  103  
 106  104  #
 107  105  #       Include common targets.
 108  106  #
 109  107  include $(UTSBASE)/sun4u/enchilada/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX