Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  37 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  38 CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/
  39 
  40 #
  41 #       Kernel Module Dependencies
  42 #
  43 LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
  44 
  45 #
  46 #       Define targets
  47 #
  48 ALL_TARGET      = $(BINARY) $(CONFMOD)
  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  51 
  52 #
  53 #       Include common rules.
  54 #
  55 include $(UTSBASE)/intel/Makefile.intel
  56 
  57 CERRWARN        += -_gcc=-Wno-uninitialized
  58 
  59 # needs work
  60 $(OBJS_DIR)/mptsas_raid.o := SMOFF += index_overflow
  61 $(OBJS_DIR)/mptsas.o := SMOFF += deref_check
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 all:            $(ALL_DEPS)
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77 


  37 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  38 CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/
  39 
  40 #
  41 #       Kernel Module Dependencies
  42 #
  43 LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
  44 
  45 #
  46 #       Define targets
  47 #
  48 ALL_TARGET      = $(BINARY) $(CONFMOD)
  49 LINT_TARGET     = $(MODULE).lint
  50 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  51 
  52 #
  53 #       Include common rules.
  54 #
  55 include $(UTSBASE)/intel/Makefile.intel
  56 
  57 CERRWARN        += $(CNOWARN_UNINIT)
  58 
  59 # needs work
  60 $(OBJS_DIR)/mptsas_raid.o := SMOFF += index_overflow
  61 $(OBJS_DIR)/mptsas.o := SMOFF += deref_check
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 all:            $(ALL_DEPS)
  69 
  70 def:            $(DEF_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77