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


  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/sparc/Makefile.sparc
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 # lint pass one enforcement and OS version
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 CERRWARN        += -_gcc=-Wno-unused-label
  62 CERRWARN        += -_gcc=-Wno-unused-variable
  63 CERRWARN        += -_gcc=-Wno-unused-function
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 CERRWARN        += -_gcc=-Wno-parentheses
  66 
  67 #
  68 # Disable these lint checks since some errors suppressed here are
  69 # in the OFED code, but we'd like to keep it as is as much as possible.
  70 # Note. maintainers should endeavor to investigate and remove these for
  71 # maximum lint coverage, but please do not carry these forward to new 
  72 # Makefiles blindly.
  73 #
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  76 LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED
  77 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  78 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  79 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  80 LINTTAGS        += -erroff=E_FUNC_SET_NOT_USED
  81 LINTTAGS        += -erroff=E_FUNC_USED_VAR_ARG2
  82 LINTTAGS        += -erroff=E_INCONS_ARG_USED2
  83 
  84 LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs




  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/sparc/Makefile.sparc
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 #
  57 # lint pass one enforcement and OS version
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 CERRWARN        += -_gcc=-Wno-unused-label
  62 CERRWARN        += -_gcc=-Wno-unused-variable
  63 CERRWARN        += -_gcc=-Wno-unused-function
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 CERRWARN        += -_gcc=-Wno-parentheses
  66 
  67 #
  68 # Disable these lint checks since some errors suppressed here are
  69 # in the OFED code, but we'd like to keep it as is as much as possible.
  70 # Note. maintainers should endeavor to investigate and remove these for
  71 # maximum lint coverage, but please do not carry these forward to new 
  72 # Makefiles blindly.
  73 #
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  76 LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED
  77 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  78 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  79 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  80 LINTTAGS        += -erroff=E_FUNC_SET_NOT_USED
  81 LINTTAGS        += -erroff=E_FUNC_USED_VAR_ARG2
  82 LINTTAGS        += -erroff=E_INCONS_ARG_USED2
  83 
  84 LDFLAGS += -dy -Nfs/sockfs -Nmisc/ksocket -Ndrv/ip -Nmisc/ibtl -Nmisc/ibcm -Nmisc/sol_ofs