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


  70                    -D__BIG_ENDIAN \
  71                    -I$(SRCDIR)/577xx/include \
  72                    -I$(SRCDIR)/577xx/drivers/common/ecore \
  73                    -I$(SRCDIR)/577xx/drivers/common/include \
  74                    -I$(SRCDIR)/577xx/drivers/common/include/l4 \
  75                    -I$(SRCDIR)/577xx/drivers/common/include/l5 \
  76                    -I$(SRCDIR)/577xx/drivers/common/lm/device \
  77                    -I$(SRCDIR)/577xx/drivers/common/lm/fw \
  78                    -I$(SRCDIR)/577xx/drivers/common/lm/include \
  79                    -I$(SRCDIR)/577xx/drivers/common/lm/l4 \
  80                    -I$(SRCDIR)/577xx/drivers/common/lm/l4/include \
  81                    -I$(SRCDIR)/577xx/drivers/common/lm/l5 \
  82                    -I$(SRCDIR)/577xx/drivers/common/lm/l5/include \
  83                    -I$(SRCDIR)/577xx/hsi/hw/include \
  84                    -I$(SRCDIR)/577xx/hsi/mcp \
  85                    -I$(SRCDIR)
  86 
  87 LDFLAGS         += -dy -r -Ndrv/ip -Nmisc/mac
  88 #CERRWARN       += -_gcc=-Wno-old-style-declaration
  89 CERRWARN        += -_gcc=-Wno-switch
  90 CERRWARN        += -_gcc=-Wno-uninitialized
  91 CERRWARN        += -_gcc=-Wno-parentheses
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-value
  94 CERRWARN        += -_gcc=-Wno-unused-variable
  95 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  96 CERRWARN        += -_cc=-erroff=E_ARGUEMENT_MISMATCH
  97 CERRWARN        += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
  98 CERRWARN        += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
  99 CERRWARN        += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
 100 
 101 LINTTAGS        += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
 102 LINTTAGS        += -erroff=E_FUNC_RET_MAYBE_IGNORED2
 103 LINTTAGS        += -erroff=E_STATIC_UNUSED
 104 LINTTAGS        += -erroff=E_FUNC_SET_NOT_USED
 105 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 106 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
 107 LINTTAGS        += -erroff=E_NOP_ELSE_STMT
 108 LINTTAGS        += -erroff=E_NOP_IF_STMT
 109 LINTTAGS        += -erroff=E_FUNC_ARG_UNUSED
 110 LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED




  70                    -D__BIG_ENDIAN \
  71                    -I$(SRCDIR)/577xx/include \
  72                    -I$(SRCDIR)/577xx/drivers/common/ecore \
  73                    -I$(SRCDIR)/577xx/drivers/common/include \
  74                    -I$(SRCDIR)/577xx/drivers/common/include/l4 \
  75                    -I$(SRCDIR)/577xx/drivers/common/include/l5 \
  76                    -I$(SRCDIR)/577xx/drivers/common/lm/device \
  77                    -I$(SRCDIR)/577xx/drivers/common/lm/fw \
  78                    -I$(SRCDIR)/577xx/drivers/common/lm/include \
  79                    -I$(SRCDIR)/577xx/drivers/common/lm/l4 \
  80                    -I$(SRCDIR)/577xx/drivers/common/lm/l4/include \
  81                    -I$(SRCDIR)/577xx/drivers/common/lm/l5 \
  82                    -I$(SRCDIR)/577xx/drivers/common/lm/l5/include \
  83                    -I$(SRCDIR)/577xx/hsi/hw/include \
  84                    -I$(SRCDIR)/577xx/hsi/mcp \
  85                    -I$(SRCDIR)
  86 
  87 LDFLAGS         += -dy -r -Ndrv/ip -Nmisc/mac
  88 #CERRWARN       += -_gcc=-Wno-old-style-declaration
  89 CERRWARN        += -_gcc=-Wno-switch
  90 CERRWARN        += $(CNOWARN_UNINIT)
  91 CERRWARN        += -_gcc=-Wno-parentheses
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-value
  94 CERRWARN        += -_gcc=-Wno-unused-variable
  95 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  96 CERRWARN        += -_cc=-erroff=E_ARGUEMENT_MISMATCH
  97 CERRWARN        += -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
  98 CERRWARN        += -_cc=-erroff=E_CONST_PROMOTED_UNSIGNED_LL
  99 CERRWARN        += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
 100 
 101 LINTTAGS        += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
 102 LINTTAGS        += -erroff=E_FUNC_RET_MAYBE_IGNORED2
 103 LINTTAGS        += -erroff=E_STATIC_UNUSED
 104 LINTTAGS        += -erroff=E_FUNC_SET_NOT_USED
 105 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 106 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
 107 LINTTAGS        += -erroff=E_NOP_ELSE_STMT
 108 LINTTAGS        += -erroff=E_NOP_IF_STMT
 109 LINTTAGS        += -erroff=E_FUNC_ARG_UNUSED
 110 LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED