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


  41 OBJECTS         = $(PCF8574_NCT_OBJS:%=$(OBJS_DIR)/%)
  42 LINTS           = $(PCF8574_NCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
  43 ROOTMODULE      = $(ROOT_MONTECARLO_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE) -DNORDICA_CP1500
  61 CERRWARN += -_gcc=-Wno-uninitialized
  62 
  63 #
  64 # Turn on doubleword alignment for 64 bit registers
  65 #
  66 CFLAGS += -dalign
  67 
  68 #
  69 # Add our depedencies to LDFLAGS
  70 #
  71 LDFLAGS += -dy -Nmisc/i2c_svc -Ndrv/scsb
  72 
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)


  41 OBJECTS         = $(PCF8574_NCT_OBJS:%=$(OBJS_DIR)/%)
  42 LINTS           = $(PCF8574_NCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
  43 ROOTMODULE      = $(ROOT_MONTECARLO_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE) -DNORDICA_CP1500
  61 CERRWARN += $(CNOWARN_UNINIT)
  62 
  63 #
  64 # Turn on doubleword alignment for 64 bit registers
  65 #
  66 CFLAGS += -dalign
  67 
  68 #
  69 # Add our depedencies to LDFLAGS
  70 #
  71 LDFLAGS += -dy -Nmisc/i2c_svc -Ndrv/scsb
  72 
  73 
  74 #
  75 #       Default build targets.
  76 #
  77 .KEEP_STATE:
  78 
  79 def:            $(DEF_DEPS)
  80 
  81 all:            $(ALL_DEPS)