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


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


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