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


  26 
  27 #
  28 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  29 #
  30 UTSBASE = ../..
  31 
  32 #
  33 #       Define the module and object file sets.
  34 #
  35 MODULE          = ehci
  36 OBJECTS         = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
  37 LINTS           = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  38 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  39 CONF_SRCDIR     = $(UTSBASE)/common/io/usb/hcd/ehci
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 CERRWARN        += -_gcc=-Wno-uninitialized
  47 CERRWARN        += -_gcc=-Wno-switch
  48 
  49 # needs work
  50 SMOFF += deref_check,shift_to_zero
  51 
  52 #
  53 # depends on misc/usba
  54 #
  55 LDFLAGS         += -dy -Nmisc/usba
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  62 LINT_TARGET     = $(MODULE).lint
  63 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  64 
  65 #
  66 #       Default build targets.




  26 
  27 #
  28 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  29 #
  30 UTSBASE = ../..
  31 
  32 #
  33 #       Define the module and object file sets.
  34 #
  35 MODULE          = ehci
  36 OBJECTS         = $(EHCI_OBJS:%=$(OBJS_DIR)/%)
  37 LINTS           = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  38 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  39 CONF_SRCDIR     = $(UTSBASE)/common/io/usb/hcd/ehci
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 CERRWARN        += $(CNOWARN_UNINIT)
  47 CERRWARN        += -_gcc=-Wno-switch
  48 
  49 # needs work
  50 SMOFF += deref_check,shift_to_zero
  51 
  52 #
  53 # depends on misc/usba
  54 #
  55 LDFLAGS         += -dy -Nmisc/usba
  56 
  57 #
  58 #       Define targets
  59 #
  60 ALL_TARGET      = $(BINARY)
  61 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  62 LINT_TARGET     = $(MODULE).lint
  63 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  64 
  65 #
  66 #       Default build targets.