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/platmod/Makefile
          +++ new/usr/src/uts/sun4v/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 sun4v default platform module.
  31   29  #
  32   30  #       sun4v 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 ↓ 45 lines elided ↑ open up ↑
  83   81  clobber:        $(CLOBBER_DEPS)
  84   82  
  85   83  lint:           $(LINT_DEPS)
  86   84  
  87   85  modlintlib:     $(MODLINTLIB_DEPS)
  88   86  
  89   87  clean.lint:     $(CLEAN_LINT_DEPS)
  90   88  
  91   89  install:        $(INSTALL_DEPS)
  92   90  
  93      -$(PLATLIB):     $(BINARY)
  94      -        $(BUILD.SO) $(BINARY)
       91 +$(PLATLIB):     $(OBJECTS)
       92 +        $(BUILD.SO) $(OBJECTS)
  95   93  
  96   94  #
  97   95  #       Include common targets.
  98   96  #
  99   97  include $(UTSBASE)/$(PLATFORM)/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX