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