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


  35 #
  36 #       Define the module and object file sets.
  37 #
  38 MODULE          = cpudrv
  39 OBJECTS         = $(CPUDRV_OBJS:%=$(OBJS_DIR)/%)
  40 ROOTMODULE      = $(ROOT_PSM_DRV_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/i86pc/Makefile.i86pc
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 CFLAGS += $(CCVERBOSE)
  54 
  55 CERRWARN        += -_gcc=-Wno-uninitialized
  56 CERRWARN        += -_gcc=-Wno-parentheses
  57 CERRWARN        += -_gcc=-Wno-unused-function
  58 
  59 #
  60 # Link to acpica for ACPI services
  61 #
  62 LDFLAGS         += -dy -N misc/acpica
  63 
  64 #
  65 #       Default build targets.
  66 #
  67 .KEEP_STATE:
  68 
  69 def:            $(DEF_DEPS)
  70 
  71 all:            $(ALL_DEPS)
  72 
  73 clean:          $(CLEAN_DEPS)
  74 
  75 clobber:        $(CLOBBER_DEPS)


  35 #
  36 #       Define the module and object file sets.
  37 #
  38 MODULE          = cpudrv
  39 OBJECTS         = $(CPUDRV_OBJS:%=$(OBJS_DIR)/%)
  40 ROOTMODULE      = $(ROOT_PSM_DRV_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/i86pc/Makefile.i86pc
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 CFLAGS += $(CCVERBOSE)
  54 
  55 CERRWARN        += $(CNOWARN_UNINIT)
  56 CERRWARN        += -_gcc=-Wno-parentheses
  57 CERRWARN        += -_gcc=-Wno-unused-function
  58 
  59 #
  60 # Link to acpica for ACPI services
  61 #
  62 LDFLAGS         += -dy -N misc/acpica
  63 
  64 #
  65 #       Default build targets.
  66 #
  67 .KEEP_STATE:
  68 
  69 def:            $(DEF_DEPS)
  70 
  71 all:            $(ALL_DEPS)
  72 
  73 clean:          $(CLEAN_DEPS)
  74 
  75 clobber:        $(CLOBBER_DEPS)