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