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


  61 VFLAGS          = -DVERSION='"2.6.1"'
  62 AFLAGS          = -Di86pc
  63 DFLAGS          = -D"__INLINE__="
  64 CFGFLAGS        = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN \
  65         -DGEM_CONFIG_CKSUM_OFFLOAD -DGEM_CONFIG_ND \
  66         -DCONFIG_DP83815 -DCONFIG_SIS900 -DCONFIG_SIS7016 \
  67         -DCONFIG_MAC_ADDR_SIS630E -DCONFIG_OPT_IO -UCONFIG_OO \
  68         -DCONFIG_PATTERN_MATCH_DP83815
  69 #
  70 #       FAST PATH SECTION: Will activate usage of inlines as a regular functions
  71 #       on fast data path
  72 
  73 CPPFLAGS        += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
  74         -I$(UTSBASE)/common/io/sfe
  75 
  76 CFLAGS          += $(CPPFLAGS)
  77 
  78 CERRWARN        += -_gcc=-Wno-unused-label
  79 CERRWARN        += -_gcc=-Wno-switch
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += -_gcc=-Wno-uninitialized
  82 
  83 # needs work
  84 SMOFF += all_func_returns
  85 
  86 #
  87 # Driver depends on MAC & IP
  88 #
  89 LDFLAGS         += -dy -N misc/mac -N drv/ip
  90 
  91 #
  92 #       Default build targets.
  93 #
  94 .KEEP_STATE:
  95 
  96 def:            $(DEF_DEPS)
  97 
  98 all:            $(ALL_DEPS)
  99 
 100 clean:          $(CLEAN_DEPS)
 101 


  61 VFLAGS          = -DVERSION='"2.6.1"'
  62 AFLAGS          = -Di86pc
  63 DFLAGS          = -D"__INLINE__="
  64 CFGFLAGS        = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN \
  65         -DGEM_CONFIG_CKSUM_OFFLOAD -DGEM_CONFIG_ND \
  66         -DCONFIG_DP83815 -DCONFIG_SIS900 -DCONFIG_SIS7016 \
  67         -DCONFIG_MAC_ADDR_SIS630E -DCONFIG_OPT_IO -UCONFIG_OO \
  68         -DCONFIG_PATTERN_MATCH_DP83815
  69 #
  70 #       FAST PATH SECTION: Will activate usage of inlines as a regular functions
  71 #       on fast data path
  72 
  73 CPPFLAGS        += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
  74         -I$(UTSBASE)/common/io/sfe
  75 
  76 CFLAGS          += $(CPPFLAGS)
  77 
  78 CERRWARN        += -_gcc=-Wno-unused-label
  79 CERRWARN        += -_gcc=-Wno-switch
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += $(CNOWARN_UNINIT)
  82 
  83 # needs work
  84 SMOFF += all_func_returns
  85 
  86 #
  87 # Driver depends on MAC & IP
  88 #
  89 LDFLAGS         += -dy -N misc/mac -N drv/ip
  90 
  91 #
  92 #       Default build targets.
  93 #
  94 .KEEP_STATE:
  95 
  96 def:            $(DEF_DEPS)
  97 
  98 all:            $(ALL_DEPS)
  99 
 100 clean:          $(CLEAN_DEPS)
 101