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


  71 #
  72 # Turn on doubleword alignment for 64 bit registers
  73 #
  74 CFLAGS += -dalign
  75 
  76 #
  77 # For now, disable these lint checks; maintainers should endeavor
  78 # to investigate and remove these for maximum lint coverage.
  79 # Please do not carry these forward to new Makefiles.
  80 #
  81 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  82 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  83 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  84 LINTTAGS        += -erroff=E_STATIC_UNUSED
  85 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 
  88 CERRWARN        += -_gcc=-Wno-parentheses
  89 CERRWARN        += -_gcc=-Wno-type-limits
  90 CERRWARN        += -_gcc=-Wno-clobbered
  91 CERRWARN        += -_gcc=-Wno-uninitialized
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-variable
  94 CERRWARN        += -_gcc=-Wno-unused-label
  95 
  96 #       Dependency
  97 #
  98 LDFLAGS += -dy -Nmisc/pcie
  99 
 100 #       Default build targets.
 101 #
 102 .KEEP_STATE:
 103 
 104 def:            $(DEF_DEPS)
 105 
 106 all:            $(ALL_DEPS)
 107 
 108 clean:          $(CLEAN_DEPS)
 109 
 110 clobber:        $(CLOBBER_DEPS)
 111 


  71 #
  72 # Turn on doubleword alignment for 64 bit registers
  73 #
  74 CFLAGS += -dalign
  75 
  76 #
  77 # For now, disable these lint checks; maintainers should endeavor
  78 # to investigate and remove these for maximum lint coverage.
  79 # Please do not carry these forward to new Makefiles.
  80 #
  81 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  82 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  83 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  84 LINTTAGS        += -erroff=E_STATIC_UNUSED
  85 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 
  88 CERRWARN        += -_gcc=-Wno-parentheses
  89 CERRWARN        += -_gcc=-Wno-type-limits
  90 CERRWARN        += -_gcc=-Wno-clobbered
  91 CERRWARN        += $(CNOWARN_UNINIT)
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-variable
  94 CERRWARN        += -_gcc=-Wno-unused-label
  95 
  96 #       Dependency
  97 #
  98 LDFLAGS += -dy -Nmisc/pcie
  99 
 100 #       Default build targets.
 101 #
 102 .KEEP_STATE:
 103 
 104 def:            $(DEF_DEPS)
 105 
 106 all:            $(ALL_DEPS)
 107 
 108 clean:          $(CLEAN_DEPS)
 109 
 110 clobber:        $(CLOBBER_DEPS)
 111