Print this page
Changes to enable driver to compile.
Header paths, object lists, etc.

*** 19,29 **** # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # This makefile drives the production of the mpt_sas driver kernel module. # # Sparc architecture dependent # # --- 19,30 ---- # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # This makefile drives the production of the mpt_sas3 driver ! # kernel module. # # Sparc architecture dependent # #
*** 32,47 **** UTSBASE = ../../../../src/uts # # Define the module and object file sets. # ! MODULE = mpt_sas ! OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%) ! LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ! CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas ! WARLOCK_OUT = $(MPTSAS_OBJS:%.o=%.ll) WARLOCK_OK = $(MODULE).ok WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Kernel Module Dependencies --- 33,48 ---- UTSBASE = ../../../../src/uts # # Define the module and object file sets. # ! MODULE = mpt_sas3 ! OBJECTS = $(MPTSAS3_OBJS:%=$(OBJS_DIR)/%) ! LINTS = $(MPTSAS3_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) ! CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas3 ! WARLOCK_OUT = $(MPTSAS3_OBJS:%.o=%.ll) WARLOCK_OK = $(MODULE).ok WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Kernel Module Dependencies
*** 112,129 **** SCSI_FILES = $(SCSI_OBJS:%.o= -l $(UTSBASE)/sparc/scsi/%.ll) warlock: $(WARLOCK_OK) $(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files scsi.files \ ! $(WLCMD_DIR)/mptsas.wlcmd ! $(WARLOCK) -c $(WLCMD_DIR)/mptsas.wlcmd $(WARLOCK_OUT) \ $(UTSBASE)/sparc/warlock/scsi.ll \ $(SCSI_FILES) \ -l $(UTSBASE)/sparc/warlock/ddi_dki_impl.ll $(TOUCH) $@ ! %.ll: $(UTSBASE)/common/io/scsi/adapters/mpt_sas/%.c $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< warlock_ddi.files: @cd $(UTSBASE)/sparc/warlock; pwd; $(MAKE) warlock --- 113,130 ---- SCSI_FILES = $(SCSI_OBJS:%.o= -l $(UTSBASE)/sparc/scsi/%.ll) warlock: $(WARLOCK_OK) $(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files scsi.files \ ! $(WLCMD_DIR)/mptsas3.wlcmd ! $(WARLOCK) -c $(WLCMD_DIR)/mptsas3.wlcmd $(WARLOCK_OUT) \ $(UTSBASE)/sparc/warlock/scsi.ll \ $(SCSI_FILES) \ -l $(UTSBASE)/sparc/warlock/ddi_dki_impl.ll $(TOUCH) $@ ! %.ll: $(UTSBASE)/common/io/scsi/adapters/mpt_sas3/%.c $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< warlock_ddi.files: @cd $(UTSBASE)/sparc/warlock; pwd; $(MAKE) warlock