10593 illumos build should not use kernel modules as link-editor input
@@ -94,12 +94,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)