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


  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 # Define dependency on specfs
  57 #
  58 LDFLAGS += -dy -N fs/specfs
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  68 LINTTAGS        += -erroff=E_STATIC_UNUSED
  69 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += -_gcc=-Wno-uninitialized
  74 CERRWARN        += -_gcc=-Wno-unused-function
  75 CERRWARN        += -_gcc=-Wno-type-limits
  76 CERRWARN        += -_gcc=-Wno-switch
  77 
  78 # needs work
  79 $(OBJS_DIR)/hsfs_vnops.o := SMOFF += 64bit_shift,signed
  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 


  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 # Define dependency on specfs
  57 #
  58 LDFLAGS += -dy -N fs/specfs
  59 
  60 #
  61 # For now, disable these lint checks; maintainers should endeavor
  62 # to investigate and remove these for maximum lint coverage.
  63 # Please do not carry these forward to new Makefiles.
  64 #
  65 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  66 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  68 LINTTAGS        += -erroff=E_STATIC_UNUSED
  69 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += $(CNOWARN_UNINIT)
  74 CERRWARN        += -_gcc=-Wno-unused-function
  75 CERRWARN        += -_gcc=-Wno-type-limits
  76 CERRWARN        += -_gcc=-Wno-switch
  77 
  78 # needs work
  79 $(OBJS_DIR)/hsfs_vnops.o := SMOFF += 64bit_shift,signed
  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