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


  40                   $(PCI_STRING_OBJS:%=$(OBJS_DIR)/%)
  41 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/i86pc/Makefile.i86pc
  47 
  48 #
  49 #       Dependency
  50 #
  51 LDFLAGS         += -dy -Nmisc/acpica -Nmisc/busra
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 CERRWARN        += -_gcc=-Wno-unused-value
  60 CERRWARN        += -_gcc=-Wno-uninitialized
  61 CERRWARN        += -_gcc=-Wno-parentheses
  62 CERRWARN        += -_gcc=-Wno-unused-variable
  63 CERRWARN        += -_gcc=-Wno-unused-function # safe
  64 
  65 # needs work
  66 SMOFF += all_func_returns,deref_check
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 


  40                   $(PCI_STRING_OBJS:%=$(OBJS_DIR)/%)
  41 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/i86pc/Makefile.i86pc
  47 
  48 #
  49 #       Dependency
  50 #
  51 LDFLAGS         += -dy -Nmisc/acpica -Nmisc/busra
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 CERRWARN        += -_gcc=-Wno-unused-value
  60 CERRWARN        += $(CNOWARN_UNINIT)
  61 CERRWARN        += -_gcc=-Wno-parentheses
  62 CERRWARN        += -_gcc=-Wno-unused-variable
  63 CERRWARN        += -_gcc=-Wno-unused-function # safe
  64 
  65 # needs work
  66 SMOFF += all_func_returns,deref_check
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80