Print this page
10593 illumos build should not use kernel modules as link-editor input

@@ -17,15 +17,14 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
-# uts/sun4v/niagara2/Makefile
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident  "%Z%%M% %I%     %E% SMI"
+
 #
 #       This makefile drives the production of the UltraSPARC-T2 cpu module.
 #
 #       sun4v implementation architecture dependent
 #

@@ -104,12 +103,12 @@
 
 clean.lint:     $(CLEAN_LINT_DEPS)
 
 install:        $(INSTALL_DEPS)
 
-$(CPULIB):      $(BINARY)
-        $(BUILD.SO) $(BINARY)
+$(CPULIB):      $(OBJECTS)
+        $(BUILD.SO) $(OBJECTS)
 
 $(SYM_MOD):     $(UNIX_O) $(CPULIB)
         @echo "resolving symbols against unix.o"
         @(cd $(UNIX_DIR); pwd; \
             CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)