Print this page
4623 Remove -Wno-unused-label from mpt_sas
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: Robert Mustacchi <rm@joyent.com>


  45 
  46 #
  47 #       Kernel Module Dependencies
  48 #
  49 LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Include common rules.
  60 #
  61 include $(UTSBASE)/intel/Makefile.intel
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 CERRWARN        += -_gcc=-Wno-unused-label
  66 CERRWARN        += -_gcc=-Wno-switch
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 all:            $(ALL_DEPS)
  74 
  75 def:            $(DEF_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78                 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81                 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
  82 
  83 lint:           $(LINT_DEPS)
  84 
  85 modlintlib:     $(MODLINTLIB_DEPS)




  45 
  46 #
  47 #       Kernel Module Dependencies
  48 #
  49 LDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(CONFMOD)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Include common rules.
  60 #
  61 include $(UTSBASE)/intel/Makefile.intel
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-uninitialized

  65 CERRWARN        += -_gcc=-Wno-switch
  66 
  67 #
  68 #       Default build targets.
  69 #
  70 .KEEP_STATE:
  71 
  72 all:            $(ALL_DEPS)
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)
  77                 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80                 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)