34 lines
613 B
CMake
Executable File
34 lines
613 B
CMake
Executable File
set(incs . include)
|
|
set(srcs av_client_main.c)
|
|
|
|
if (CONFIG_INTEGRATION_DOORBELL)
|
|
if (CONFIG_SYS_CPU0)
|
|
list(APPEND srcs
|
|
src/av_client_comm.c
|
|
src/av_client_transmission.c
|
|
src/av_client_udp_service.c
|
|
src/av_client_tcp_service.c
|
|
src/av_client_devices.c
|
|
|
|
)
|
|
endif()
|
|
endif()
|
|
|
|
set(priv_req bk_init bt media_service lwip_intf_v2_1 wifi_transfer)
|
|
|
|
if ("${ARMINO_SOC}" STREQUAL "bk7258")
|
|
list(APPEND priv_req multimedia cs2p2p)
|
|
endif()
|
|
|
|
if (CONFIG_OVERRIDE_FLASH_PARTITION)
|
|
list(APPEND srcs
|
|
vendor_flash.c
|
|
)
|
|
endif()
|
|
|
|
armino_component_register(
|
|
SRCS "${srcs}"
|
|
INCLUDE_DIRS "${incs}"
|
|
PRIV_REQUIRES "${priv_req}"
|
|
)
|