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/chicago/platmod/Makefile
          +++ new/usr/src/uts/sun4u/chicago/platmod/Makefile
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  modlintlib:     $(MODLINTLIB_DEPS)
  88   88  
  89   89  clean.lint:     $(CLEAN_LINT_DEPS)
  90   90  
  91   91  install:        $(INSTALL_DEPS)
  92   92  
  93   93  check:
  94   94  
  95   95  LINT_LIB_DIR    = $(CHICAGO_LINT_LIB_DIR)
  96   96  
  97      -$(PLATLIB):     $(BINARY)
  98      -        $(BUILD.SO) $(BINARY)
       97 +$(PLATLIB):     $(OBJECTS)
       98 +        $(BUILD.SO) $(OBJECTS)
  99   99  
 100  100  $(SYM_MOD):     $(UNIX_O) $(PLATLIB)
 101  101          @echo "resolving symbols against unix.o"
 102  102          @(cd $(UNIX_DIR); pwd; \
 103  103              PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
 104  104  
 105  105  #
 106  106  #       Include common targets.
 107  107  #
 108  108  include $(UTSBASE)/sun4u/chicago/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX