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