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