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


  70 CFLAGS += -dalign
  71 
  72 #
  73 # Make the driver hotswap controller
  74 #
  75 CFLAGS += -DPCI_HOTPLUG
  76 
  77 #
  78 # Driver depends on pci hotplug.
  79 #
  80 LDFLAGS += -dy -Nmisc/pcihp
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  88 
  89 CERRWARN        += -_gcc=-Wno-parentheses
  90 CERRWARN        += -_gcc=-Wno-uninitialized
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 
  93 #       Default build targets.
  94 #
  95 .KEEP_STATE:
  96 
  97 def:            $(DEF_DEPS)
  98 
  99 all:            $(ALL_DEPS)
 100 
 101 clean:          $(CLEAN_DEPS)
 102 
 103 clobber:        $(CLOBBER_DEPS)
 104 
 105 lint:           $(LINT_DEPS)
 106 
 107 modlintlib:     $(MODLINTLIB_DEPS)
 108 
 109 clean.lint:     $(CLEAN_LINT_DEPS)
 110 


  70 CFLAGS += -dalign
  71 
  72 #
  73 # Make the driver hotswap controller
  74 #
  75 CFLAGS += -DPCI_HOTPLUG
  76 
  77 #
  78 # Driver depends on pci hotplug.
  79 #
  80 LDFLAGS += -dy -Nmisc/pcihp
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  88 
  89 CERRWARN        += -_gcc=-Wno-parentheses
  90 CERRWARN        += $(CNOWARN_UNINIT)
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 
  93 #       Default build targets.
  94 #
  95 .KEEP_STATE:
  96 
  97 def:            $(DEF_DEPS)
  98 
  99 all:            $(ALL_DEPS)
 100 
 101 clean:          $(CLEAN_DEPS)
 102 
 103 clobber:        $(CLOBBER_DEPS)
 104 
 105 lint:           $(LINT_DEPS)
 106 
 107 modlintlib:     $(MODLINTLIB_DEPS)
 108 
 109 clean.lint:     $(CLEAN_LINT_DEPS)
 110