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