mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 02:13:15 +00:00
The CMakeLists.txt file was reading ${BOARD}, but this means the user must set BOARD like this cmake -DBOARD=foo. The user must be allowed to set BOARD from the environment. The code was unnecessary anyway because the convention prj_${BOARD}.conf is known by boilerplate and therefore not necessary to specify. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
6 lines
160 B
CMake
6 lines
160 B
CMake
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(NONE)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|