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