2019-05-03 11:02:56 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# See root CMakeLists.txt for description and expectations of these macros
|
|
|
|
|
|
|
|
macro(toolchain_ld_configure_files)
|
|
|
|
configure_file(
|
2020-02-12 15:42:09 +01:00
|
|
|
${ZEPHYR_BASE}/include/arch/common/app_data_alignment.ld
|
2019-05-03 11:02:56 +02:00
|
|
|
${PROJECT_BINARY_DIR}/include/generated/app_data_alignment.ld)
|
|
|
|
|
|
|
|
configure_file(
|
2020-02-12 15:42:09 +01:00
|
|
|
${ZEPHYR_BASE}/include/linker/app_smem.ld
|
2019-05-03 11:02:56 +02:00
|
|
|
${PROJECT_BINARY_DIR}/include/generated/app_smem.ld)
|
|
|
|
|
|
|
|
configure_file(
|
2020-02-12 15:42:09 +01:00
|
|
|
${ZEPHYR_BASE}/include/linker/app_smem_aligned.ld
|
2019-05-03 11:02:56 +02:00
|
|
|
${PROJECT_BINARY_DIR}/include/generated/app_smem_aligned.ld)
|
|
|
|
|
|
|
|
configure_file(
|
2020-02-12 15:42:09 +01:00
|
|
|
${ZEPHYR_BASE}/include/linker/app_smem_unaligned.ld
|
2019-05-03 11:02:56 +02:00
|
|
|
${PROJECT_BINARY_DIR}/include/generated/app_smem_unaligned.ld)
|
|
|
|
endmacro()
|