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