mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 05:13:06 +00:00
This commit updates all posix SoCs to set SOC_LINKER_SCRIPT CMake variable to point to active linker script directly. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
18 lines
362 B
CMake
18 lines
362 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_compile_definitions(NO_POSIX_CHEATS)
|
|
|
|
zephyr_library_sources(
|
|
soc.c
|
|
native_tasks.c
|
|
)
|
|
|
|
zephyr_library_include_directories(
|
|
${ZEPHYR_BASE}/kernel/include
|
|
${ZEPHYR_BASE}/arch/posix/include
|
|
)
|
|
|
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/posix/linker.ld CACHE INTERNAL "")
|