Move the cmake file of OSAL to it's own repo and build as a standalone library, this is porting friendly. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
18 lines
384 B
CMake
18 lines
384 B
CMake
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(NOT CONFIG_WIFI_NRF70)
|
|
return()
|
|
endif()
|
|
|
|
add_subdirectory(${ZEPHYR_NRF_WIFI_MODULE_DIR} nrf_wifi_osal)
|
|
|
|
zephyr_library_named(nrf-wifi-shim)
|
|
zephyr_include_directories(${CMAKE_CURRENT_LIST_DIR})
|
|
zephyr_library_sources(
|
|
shim.c
|
|
timer.c
|
|
work.c
|
|
)
|
|
|
|
zephyr_library_link_libraries(nrf-wifi-osal)
|