300 lines
8.8 KiB
Plaintext
300 lines
8.8 KiB
Plaintext
# These are the options that define how VxWorks interacts with IPNET
|
|
# Each IPNET option will be available for use with a _WRS_CONFIG_ prefix
|
|
# This file lives in /vobs/components/component_roots/comp_ip_net2/wr_meta
|
|
|
|
# This is a versioned file and must be created new with each release
|
|
# The old file should be removed from the resource file that it is defined in.
|
|
|
|
|
|
# this macro is hidden from the user
|
|
# this macro indicates that the networking GPP source has been installed
|
|
config NETSOURCE
|
|
bool
|
|
default y
|
|
|
|
# To use IPLITE follow the instructions below:
|
|
# In a common.vxconfig file in either /target/src/arch/xxx or in a bsp directory you would add the following:
|
|
|
|
# hidden option to enable the IPLITE stack
|
|
#config SUPPORTS_IPLITE
|
|
# bool
|
|
# default y
|
|
|
|
# hidden option to disable the IPNET stack
|
|
#config UNSUPPORTS_IPNET
|
|
# bool
|
|
# default y
|
|
|
|
# hidden option to default the IP stack to IPLITE
|
|
#config DEFAULT_IPLITE
|
|
# bool
|
|
# default y
|
|
|
|
|
|
# SUPPORTS_IPLITE is always required if you want the IPLITE stack to be offered at all as a choice.
|
|
# UNSUPPORTS_IPNET is required if you want to disable the IPNET option totally
|
|
# DEFAULT_IPLITE is required if you use UNSUPPORTS_IPNET or if you just want the IPNET/IPLITE choice to default to IPLITE
|
|
|
|
|
|
choice
|
|
prompt "Select networking code to be built"
|
|
default COMPONENT_IPNET if !DEFAULT_IPLITE
|
|
default COMPONENT_IPLITE if DEFAULT_IPLITE
|
|
|
|
config COMPONENT_IPNET
|
|
bool "Build Networking IPNET Libraries"
|
|
depends on !PROFILE_SMALL_FOOTPRINT && !UNSUPPORTS_IPNET
|
|
select WIND_IPNET
|
|
help
|
|
Select to build any of the Networking or MSP libraries
|
|
|
|
config COMPONENT_IPLITE
|
|
bool "Build Networking IPLITE Libraries"
|
|
depends on SUPPORTS_IPLITE && !PROFILE_SMALL_FOOTPRINT
|
|
select WIND_IPLITE
|
|
help
|
|
Select to build for a limited IPLite component set
|
|
|
|
config NO_IP
|
|
bool "No Networking Libraries"
|
|
|
|
endchoice
|
|
|
|
menu "Networking Build Options"
|
|
depends on COMPONENT_IPNET
|
|
|
|
# The MSP options need to be defined here in this GPP file otherwise the logic will not work
|
|
|
|
choice
|
|
prompt "Set the IPNET build mode"
|
|
default BUILD_MODE_speed if !DEBUG_FLAG
|
|
default BUILD_MODE_debug_d if DEBUG_FLAG
|
|
|
|
config BUILD_MODE_speed
|
|
bool "speed mode"
|
|
depends on !DEBUG_FLAG
|
|
|
|
config BUILD_MODE_debug
|
|
bool "debug mode"
|
|
depends on !DEBUG_FLAG
|
|
|
|
config BUILD_MODE_speed_d
|
|
bool "speed mode"
|
|
depends on DEBUG_FLAG
|
|
|
|
config BUILD_MODE_debug_d
|
|
bool "debug mode"
|
|
depends on DEBUG_FLAG
|
|
|
|
#config BUILD_MODE_debugspeed
|
|
# bool "debug and speed mode"
|
|
|
|
#config BUILD_MODE_size
|
|
# bool "size mode"
|
|
|
|
endchoice
|
|
|
|
config FEATURE_IPNET_BUILD
|
|
string
|
|
default "speed" if BUILD_MODE_speed || BUILD_MODE_speed_d
|
|
default "debug" if BUILD_MODE_debug || BUILD_MODE_debug_d
|
|
# default "debugspeed" if BUILD_MODE_debugspeed
|
|
# default "size" if BUILD_MODE_size
|
|
|
|
config FEATURE_IPNET_VERBOSE
|
|
bool "Enable VERBOSE mode"
|
|
default n
|
|
|
|
config FEATURE_IPNET_GEN_DEPEND
|
|
bool "Generate IPNET Dependencies"
|
|
default y
|
|
|
|
config BUILD_BASIC_IPNET
|
|
bool "Build basic IPNET support libraries"
|
|
default y
|
|
help
|
|
The basic libraries are required to build vxWorks bootrom images.
|
|
|
|
|
|
config WIND_IPNET
|
|
bool
|
|
|
|
|
|
# the defaults maros DEFAULT_IPV4, DEFAULT_IPV6, DEFAULT_IPV6ONLY
|
|
# are set in prj_vsb.tcl based on flags passed into "vxprj vsb create"
|
|
# flags have the values -inet4 -inet6 -inet6only
|
|
# if no flags are passed in the default is DEFAULT_IPV4
|
|
|
|
choice
|
|
prompt "Choose the Networking Libraries to be built"
|
|
default FEATURE_IPNET_INET4_ONLY if DEFAULT_IPV4
|
|
default FEATURE_IPNET_INET6 if DEFAULT_IPV6
|
|
default FEATURE_IPNET_INET6_ONLY if DEFAULT_IPV6ONLY
|
|
|
|
config FEATURE_IPNET_INET4_ONLY
|
|
bool "Build libraries with IPV4 support"
|
|
|
|
config FEATURE_IPNET_INET6
|
|
bool "Build libraries with IPV4 and IPV6 support"
|
|
|
|
config FEATURE_IPNET_INET6_ONLY
|
|
bool "Build libraries with IPV6 support"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Select the default Build-time Syslog level for Networking Components"
|
|
default IPCOM_DEFAULT_SYSLOG_PRIORITY_DEBUG if BUILD_MODE_debug
|
|
default IPCOM_DEFAULT_SYSLOG_PRIORITY_WARNING
|
|
help
|
|
This is the default Syslog level used by the Networking Components (unless overriden by the Advanced Debugging Build Options).
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_EMERG
|
|
bool "Emergency level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_CRIT
|
|
bool "Critical level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_ERR
|
|
bool "Error level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_WARNING
|
|
bool "Warning level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_NOTICE
|
|
bool "Notice level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_INFO
|
|
bool "Informational level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_DEBUG
|
|
bool "Debug level"
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY_DEBUG2
|
|
bool "Detailed debug level"
|
|
|
|
endchoice
|
|
|
|
config IPCOM_DEFAULT_SYSLOG_PRIORITY
|
|
int
|
|
default 0 if IPCOM_DEFAULT_SYSLOG_PRIORITY_EMERG
|
|
default 1 if IPCOM_DEFAULT_SYSLOG_PRIORITY_CRIT
|
|
default 2 if IPCOM_DEFAULT_SYSLOG_PRIORITY_ERR
|
|
default 3 if IPCOM_DEFAULT_SYSLOG_PRIORITY_WARNING
|
|
default 4 if IPCOM_DEFAULT_SYSLOG_PRIORITY_NOTICE
|
|
default 5 if IPCOM_DEFAULT_SYSLOG_PRIORITY_INFO
|
|
default 6 if IPCOM_DEFAULT_SYSLOG_PRIORITY_DEBUG
|
|
default 7 if IPCOM_DEFAULT_SYSLOG_PRIORITY_DEBUG2
|
|
|
|
config IPCOM_DEBUG_ADVANCED
|
|
bool "Enable selection of Advanced Debugging Build Options for Networking Component "
|
|
default n
|
|
help
|
|
This allows the selection of Advanced Debugging Build Options for Networking Components that support it.
|
|
|
|
choice
|
|
prompt "Select the DEBUG Build-time Syslog level for Networking Components"
|
|
depends on IPCOM_DEBUG_ADVANCED
|
|
default IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG2 if BUILD_MODE_debug
|
|
default IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_EMERG
|
|
bool "Emergency level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_CRIT
|
|
bool "Critical level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_ERR
|
|
bool "Error level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_WARNING
|
|
bool "Warning level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_NOTICE
|
|
bool "Notice level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_INFO
|
|
bool "Informational level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG
|
|
bool "Debug level"
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG2
|
|
bool "Detailed debug level"
|
|
|
|
help
|
|
This is the Syslog level used by components that have their advanced debug option selected.
|
|
endchoice
|
|
|
|
config IPCOM_DEBUG_SYSLOG_PRIORITY
|
|
int
|
|
default 0 if IPCOM_DEBUG_SYSLOG_PRIORITY_EMERG
|
|
default 1 if IPCOM_DEBUG_SYSLOG_PRIORITY_CRIT
|
|
default 2 if IPCOM_DEBUG_SYSLOG_PRIORITY_ERR
|
|
default 3 if IPCOM_DEBUG_SYSLOG_PRIORITY_WARNING
|
|
default 4 if IPCOM_DEBUG_SYSLOG_PRIORITY_NOTICE
|
|
default 5 if IPCOM_DEBUG_SYSLOG_PRIORITY_INFO
|
|
default 6 if IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG
|
|
default 7 if IPCOM_DEBUG_SYSLOG_PRIORITY_DEBUG2
|
|
|
|
endmenu
|
|
|
|
menu "Networking Build Options"
|
|
depends on COMPONENT_IPLITE
|
|
|
|
config FEATURE_IPLITE_GEN_DEPEND
|
|
bool "Generate IPLITE Dependencies"
|
|
default y
|
|
|
|
config IPCOM_SIMPLE_MEM_SIZE
|
|
int "Simple Memory Size"
|
|
default 4194304
|
|
range 262144 67108864
|
|
depends on COMPONENT_IPLITE
|
|
help
|
|
This option specifies the size of simple memory for iplite stack. Allowed range 262144-67108864.
|
|
|
|
choice
|
|
prompt "Choose the Networking Libraries to be built"
|
|
default FEATURE_IPLITE_INET4_ONLY if DEFAULT_IPV4
|
|
default FEATURE_IPLITE_INET6 if DEFAULT_IPV6
|
|
|
|
config FEATURE_IPLITE_INET4_ONLY
|
|
bool "Build libraries with IPV4 support"
|
|
|
|
config FEATURE_IPLITE_INET6
|
|
bool "Build libraries with IPV4 and IPV6 support"
|
|
|
|
endchoice
|
|
|
|
config WIND_IPLITE
|
|
bool
|
|
|
|
endmenu
|
|
|
|
config MSP_KERNEL
|
|
bool
|
|
depends on (MSP_FEATURE_PAD || MSP_FEATURE_PCD || MSP_FEATURE_PID || MSP_FEATURE_PNE)
|
|
default y
|
|
|
|
config FEATURE_IP_GPP_BUILD
|
|
bool
|
|
default y if !MSP_KERNEL
|
|
|
|
config SPACE
|
|
string
|
|
default "kernel"
|
|
|
|
#config FEATURE_IP_GPP_BUILD_BASIC
|
|
# bool "Build basic IPNet support"
|
|
# default n
|
|
# depends on FEATURE_IP_GPP_BUILD
|
|
|
|
config COMPONENT_COREIP
|
|
bool
|
|
|
|
config IPNET_OR_IPLITE
|
|
bool
|
|
default y
|
|
depends on COMPONENT_IPNET || COMPONENT_IPLITE
|