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