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


  52 #       GENERAL PURPOUSE GEM FLAGS: Tuning GEM for Solaris specific modes
  53 #
  54 VFLAGS          = -DVERSION='"2.6.1"'
  55 AFLAGS          = -Di86pc
  56 DFLAGS          = -D"__INLINE__="
  57 CFGFLAGS        = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN \
  58         -DGEM_CONFIG_CKSUM_OFFLOAD -DGEM_CONFIG_ND \
  59         -DCONFIG_DP83815 -DCONFIG_SIS900 -DCONFIG_SIS7016 \
  60         -DCONFIG_MAC_ADDR_SIS630E -DCONFIG_OPT_IO -UCONFIG_OO \
  61         -DCONFIG_PATTERN_MATCH_DP83815
  62 #
  63 #       FAST PATH SECTION: Will activate usage of inlines as a regular functions
  64 #       on fast data path
  65 
  66 CPPFLAGS        += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
  67         -I$(UTSBASE)/common/io/bfe
  68 
  69 CFLAGS          += $(CPPFLAGS)
  70 
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 
  74 #
  75 # Driver depends on MAC & IP
  76 #
  77 LDFLAGS         += -dy -N misc/mac -N drv/ip
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)


  52 #       GENERAL PURPOUSE GEM FLAGS: Tuning GEM for Solaris specific modes
  53 #
  54 VFLAGS          = -DVERSION='"2.6.1"'
  55 AFLAGS          = -Di86pc
  56 DFLAGS          = -D"__INLINE__="
  57 CFGFLAGS        = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN \
  58         -DGEM_CONFIG_CKSUM_OFFLOAD -DGEM_CONFIG_ND \
  59         -DCONFIG_DP83815 -DCONFIG_SIS900 -DCONFIG_SIS7016 \
  60         -DCONFIG_MAC_ADDR_SIS630E -DCONFIG_OPT_IO -UCONFIG_OO \
  61         -DCONFIG_PATTERN_MATCH_DP83815
  62 #
  63 #       FAST PATH SECTION: Will activate usage of inlines as a regular functions
  64 #       on fast data path
  65 
  66 CPPFLAGS        += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
  67         -I$(UTSBASE)/common/io/bfe
  68 
  69 CFLAGS          += $(CPPFLAGS)
  70 
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 
  74 #
  75 # Driver depends on MAC & IP
  76 #
  77 LDFLAGS         += -dy -N misc/mac -N drv/ip
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)