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


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


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