As recommended in cmake/app/boilerplate.cmake, ZEPHYR_BASE should be preferred to PROJECT_SOURCE_DIR. Do the change for all boards still referring to PROJECT_SOURCE_DIR. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
8 lines
174 B
CMake
8 lines
174 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_PINMUX)
|
|
zephyr_library()
|
|
zephyr_library_sources(pinmux.c)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
endif()
|