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


  56 MODSTUBS_DIR     = $(OBJS_DIR)
  57 $(MODSTUBS_O)   := AS_CPPFLAGS += -DPCICFG_MODULE
  58 CLEANFILES      += $(MODSTUBS_O)
  59 
  60 #
  61 #       Dependency
  62 #
  63 LDFLAGS         += -dy -Nmisc/busra -Nmisc/pcie
  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_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 
  75 CERRWARN        += -_gcc=-Wno-unused-function
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 # needs work
  79 $(OBJS_DIR)/pcicfg.o := SMOFF += deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)


  56 MODSTUBS_DIR     = $(OBJS_DIR)
  57 $(MODSTUBS_O)   := AS_CPPFLAGS += -DPCICFG_MODULE
  58 CLEANFILES      += $(MODSTUBS_O)
  59 
  60 #
  61 #       Dependency
  62 #
  63 LDFLAGS         += -dy -Nmisc/busra -Nmisc/pcie
  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_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 
  75 CERRWARN        += -_gcc=-Wno-unused-function
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 # needs work
  79 $(OBJS_DIR)/pcicfg.o := SMOFF += deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)