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