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


  47 #
  48 include $(UTSBASE)/sun4v/Makefile.sun4v
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Include SUN4V specific headers files
  59 #
  60 INC_PATH        += -I$(UTSBASE)/sun4v/io/niumx
  61 
  62 #
  63 # lint pass one enforcement
  64 #
  65 CFLAGS += $(CCVERBOSE)
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += -_gcc=-Wno-uninitialized
  68 
  69 #
  70 # Turn on doubleword alignment for 64 bit registers
  71 #
  72 CFLAGS += -dalign
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86 
  87 lint:           $(LINT_DEPS)


  47 #
  48 include $(UTSBASE)/sun4v/Makefile.sun4v
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Include SUN4V specific headers files
  59 #
  60 INC_PATH        += -I$(UTSBASE)/sun4v/io/niumx
  61 
  62 #
  63 # lint pass one enforcement
  64 #
  65 CFLAGS += $(CCVERBOSE)
  66 CERRWARN += -_gcc=-Wno-parentheses
  67 CERRWARN += $(CNOWARN_UNINIT)
  68 
  69 #
  70 # Turn on doubleword alignment for 64 bit registers
  71 #
  72 CFLAGS += -dalign
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)
  82 
  83 clean:          $(CLEAN_DEPS)
  84 
  85 clobber:        $(CLOBBER_DEPS)
  86 
  87 lint:           $(LINT_DEPS)