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


  59 
  60 #
  61 # Define dependency on specfs
  62 #
  63 LDFLAGS += -dy -N fs/specfs
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  73 LINTTAGS        += -erroff=E_STATIC_UNUSED
  74 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-unused-label
  79 CERRWARN        += -_gcc=-Wno-uninitialized
  80 CERRWARN        += -_gcc=-Wno-type-limits
  81 
  82 # needs work
  83 SMATCH=off
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99 


  59 
  60 #
  61 # Define dependency on specfs
  62 #
  63 LDFLAGS += -dy -N fs/specfs
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  73 LINTTAGS        += -erroff=E_STATIC_UNUSED
  74 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  75 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76 
  77 CERRWARN        += -_gcc=-Wno-parentheses
  78 CERRWARN        += -_gcc=-Wno-unused-label
  79 CERRWARN        += $(CNOWARN_UNINIT)
  80 CERRWARN        += -_gcc=-Wno-type-limits
  81 
  82 # needs work
  83 SMATCH=off
  84 
  85 #
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)
  99