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