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


  52 #
  53 include $(UTSBASE)/i86pc/Makefile.i86pc
  54 
  55 #
  56 #       bootdev required as per previous inline commenting referencing symbol
  57 #       i_devname_to_promname(), which may only be necessary on SPARC. Removing
  58 #       this symbol may be sufficient to remove depedency.
  59 #
  60 LDFLAGS         += -dy -N misc/acpica -N misc/bootdev
  61 
  62 #
  63 #       Define targets
  64 #
  65 ALL_TARGET      = $(BINARY)
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 CFLAGS += $(CCVERBOSE)
  69 
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 $(OBJS_DIR)/cpr_impl.o :=       CERRWARN        += -_gcc=-Wno-unused-function
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 install:        $(INSTALL_DEPS)
  90 
  91 #
  92 #       Include common targets.


  52 #
  53 include $(UTSBASE)/i86pc/Makefile.i86pc
  54 
  55 #
  56 #       bootdev required as per previous inline commenting referencing symbol
  57 #       i_devname_to_promname(), which may only be necessary on SPARC. Removing
  58 #       this symbol may be sufficient to remove depedency.
  59 #
  60 LDFLAGS         += -dy -N misc/acpica -N misc/bootdev
  61 
  62 #
  63 #       Define targets
  64 #
  65 ALL_TARGET      = $(BINARY)
  66 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67 
  68 CFLAGS += $(CCVERBOSE)
  69 
  70 CERRWARN        += -_gcc=-Wno-unused-variable
  71 CERRWARN        += -_gcc=-Wno-unused-label
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-parentheses
  74 $(OBJS_DIR)/cpr_impl.o :=       CERRWARN        += -_gcc=-Wno-unused-function
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 install:        $(INSTALL_DEPS)
  90 
  91 #
  92 #       Include common targets.