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