2017-11-23 21:28:26 +08:00
|
|
|
|
|
|
|
if BOARD_NATIVE_POSIX
|
|
|
|
|
|
|
|
config BUILD_OUTPUT_BIN
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BUILD_OUTPUT_EXE
|
|
|
|
default y
|
|
|
|
|
2017-12-28 20:28:24 +08:00
|
|
|
config OUTPUT_PRINT_MEMORY_USAGE
|
|
|
|
default n
|
|
|
|
|
2017-11-23 21:28:26 +08:00
|
|
|
config BOARD
|
|
|
|
default "native_posix"
|
|
|
|
|
2018-03-25 23:17:57 +08:00
|
|
|
if NETWORKING
|
|
|
|
|
|
|
|
config NET_L2_ETHERNET
|
|
|
|
def_bool y if !NET_LOOPBACK && !NET_TEST
|
|
|
|
|
|
|
|
config ETH_NATIVE_POSIX
|
|
|
|
def_bool y if NET_L2_ETHERNET
|
|
|
|
|
|
|
|
endif # NETWORKING
|
|
|
|
|
2018-06-13 21:52:34 +08:00
|
|
|
if ENTROPY_GENERATOR
|
|
|
|
|
|
|
|
config FAKE_ENTROPY_NATIVE_POSIX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # ENTROPY_GENERATOR
|
|
|
|
|
2018-06-13 22:04:51 +08:00
|
|
|
if BT_HCI
|
|
|
|
|
|
|
|
choice BT_HCI_BUS_TYPE
|
|
|
|
default BT_USERCHAN
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif # BT_HCI
|
|
|
|
|
2018-09-14 16:31:55 +08:00
|
|
|
if LOG
|
|
|
|
|
|
|
|
config LOG_BACKEND_NATIVE_POSIX
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
# For native_posix we can log immediately without any problem
|
|
|
|
# Doing so will be nicer for debugging
|
|
|
|
config LOG_INPLACE_PROCESS
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
# If we set LOG_INPLACE_PROCESS, there is no need to have the logging thread
|
|
|
|
# running
|
|
|
|
config LOG_PROCESS_THREAD
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
endif # LOG
|
|
|
|
|
2018-06-13 22:04:51 +08:00
|
|
|
endif # BOARD_NATIVE_POSIX
|