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


  28 
  29 #
  30 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  31 #
  32 UTSBASE = ../..
  33 
  34 #
  35 #       Define the module and object file sets.
  36 #
  37 MODULE          = audio
  38 OBJECTS         = $(AUDIO_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(AUDIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  41 CONF_SRCDIR     = $(UTSBASE)/common/io/audio/impl
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 CERRWARN        += -_gcc=-Wno-uninitialized
  49 
  50 # needs work
  51 $(OBJS_DIR)/audio_grc3.o := SMOFF += index_overflow
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       Default build targets.
  62 #
  63 .KEEP_STATE:
  64 
  65 def:            $(DEF_DEPS)
  66 
  67 all:            $(ALL_DEPS)
  68 


  28 
  29 #
  30 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  31 #
  32 UTSBASE = ../..
  33 
  34 #
  35 #       Define the module and object file sets.
  36 #
  37 MODULE          = audio
  38 OBJECTS         = $(AUDIO_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(AUDIO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  41 CONF_SRCDIR     = $(UTSBASE)/common/io/audio/impl
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 CERRWARN        += $(CNOWARN_UNINIT)
  49 
  50 # needs work
  51 $(OBJS_DIR)/audio_grc3.o := SMOFF += index_overflow
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       Default build targets.
  62 #
  63 .KEEP_STATE:
  64 
  65 def:            $(DEF_DEPS)
  66 
  67 all:            $(ALL_DEPS)
  68