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


  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Driver depends on GLDv3 & wifi kernel support module.
  60 #
  61 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-switch
  65 CERRWARN        += -_gcc=-Wno-char-subscripts
  66 CERRWARN        += -_gcc=-Wno-uninitialized
  67 
  68 # needs work
  69 SMOFF += deref_check,no_if_block,all_func_returns
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 
  84 lint:           $(LINT_DEPS)
  85 
  86 modlintlib:     $(MODLINTLIB_DEPS)


  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57 
  58 #
  59 #       Driver depends on GLDv3 & wifi kernel support module.
  60 #
  61 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
  62 
  63 CERRWARN        += -_gcc=-Wno-parentheses
  64 CERRWARN        += -_gcc=-Wno-switch
  65 CERRWARN        += -_gcc=-Wno-char-subscripts
  66 CERRWARN        += $(CNOWARN_UNINIT)
  67 
  68 # needs work
  69 SMOFF += deref_check,no_if_block,all_func_returns
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)
  83 
  84 lint:           $(LINT_DEPS)
  85 
  86 modlintlib:     $(MODLINTLIB_DEPS)