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


  46 
  47 #
  48 # lint pass one non-enforcement
  49 #
  50 CFLAGS += $(CCVERBOSE) -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT
  51 
  52 #
  53 # 3rd party code is not lint clean
  54 #
  55 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
  56 
  57 SMOFF += all_func_returns
  58 
  59 LINTFLAGS += -errchk=%none
  60 LINTFLAGS += -errhdr=%none
  61 LINTFLAGS += -erroff=%all
  62 LINTFLAGS += -errwarn=%none
  63 
  64 CERRWARN        += -_gcc=-Wno-unused-variable
  65 CERRWARN        += -_gcc=-Wno-parentheses
  66 CERRWARN        += -_gcc=-Wno-uninitialized
  67 CERRWARN        += -_gcc=-Wno-unused-function
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)


  46 
  47 #
  48 # lint pass one non-enforcement
  49 #
  50 CFLAGS += $(CCVERBOSE) -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT
  51 
  52 #
  53 # 3rd party code is not lint clean
  54 #
  55 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
  56 
  57 SMOFF += all_func_returns
  58 
  59 LINTFLAGS += -errchk=%none
  60 LINTFLAGS += -errhdr=%none
  61 LINTFLAGS += -erroff=%all
  62 LINTFLAGS += -errwarn=%none
  63 
  64 CERRWARN        += -_gcc=-Wno-unused-variable
  65 CERRWARN        += -_gcc=-Wno-parentheses
  66 CERRWARN        += $(CNOWARN_UNINIT)
  67 CERRWARN        += -_gcc=-Wno-unused-function
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)