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


  46 #
  47 ALL_TARGET      = $(BINARY) $(CONFMOD)
  48 LINT_TARGET     = $(MODULE).lint
  49 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  50 
  51 #
  52 #       Include common rules.
  53 #
  54 include $(UTSBASE)/intel/Makefile.intel
  55 include $(CONF_SRCDIR)/pmcs8001fw.version
  56 
  57 #
  58 # Add additional flags
  59 #
  60 PMCS_DRV_FLGS   = -DMODNAME=\"${MODULE}\"
  61 CPPFLAGS        += $(PMCS_DRV_FLGS) \
  62         -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
  63         -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
  64 
  65 CERRWARN        += -_gcc=-Wno-switch
  66 CERRWARN        += -_gcc=-Wno-uninitialized
  67 CERRWARN        += -_gcc=-Wno-unused-value
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 
  71 # needs work
  72 SMATCH=off
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86 


  46 #
  47 ALL_TARGET      = $(BINARY) $(CONFMOD)
  48 LINT_TARGET     = $(MODULE).lint
  49 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  50 
  51 #
  52 #       Include common rules.
  53 #
  54 include $(UTSBASE)/intel/Makefile.intel
  55 include $(CONF_SRCDIR)/pmcs8001fw.version
  56 
  57 #
  58 # Add additional flags
  59 #
  60 PMCS_DRV_FLGS   = -DMODNAME=\"${MODULE}\"
  61 CPPFLAGS        += $(PMCS_DRV_FLGS) \
  62         -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
  63         -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
  64 
  65 CERRWARN        += -_gcc=-Wno-switch
  66 CERRWARN        += $(CNOWARN_UNINIT)
  67 CERRWARN        += -_gcc=-Wno-unused-value
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-parentheses
  70 
  71 # needs work
  72 SMATCH=off
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86