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