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