File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1086,7 +1086,7 @@ if(CONFIG_USERSPACE)
1086
1086
-d ${OBJ_FILE_DIR}
1087
1087
-o ${APP_SMEM_UNALIGNED_LD}
1088
1088
${NEWLIB_PART} ${MBEDTLS_PART}
1089
- $<TARGET_PROPERTY:zephyr_property_target,COMPILE_OPTIONS>
1089
+ $<TARGET_PROPERTY:${IMAGE} zephyr_property_target,COMPILE_OPTIONS>
1090
1090
$<$<BOOL :${CMAKE_VERBOSE_MAKEFILE} >:--verbose>
1091
1091
DEPENDS
1092
1092
kernel
@@ -1137,7 +1137,7 @@ if(CONFIG_USERSPACE)
1137
1137
-e $<TARGET_FILE:app_smem_unaligned_prebuilt>
1138
1138
-o ${APP_SMEM_ALIGNED_LD}
1139
1139
${NEWLIB_PART} ${MBEDTLS_PART}
1140
- $<TARGET_PROPERTY:zephyr_property_target,COMPILE_OPTIONS>
1140
+ $<TARGET_PROPERTY:${IMAGE} zephyr_property_target,COMPILE_OPTIONS>
1141
1141
$<$<BOOL :${CMAKE_VERBOSE_MAKEFILE} >:--verbose>
1142
1142
DEPENDS
1143
1143
${KERNEL_LIBRARY}
Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ endif()
635
635
#
636
636
# Currently used properties:
637
637
# - COMPILES_OPTIONS: Used by application memory partition feature
638
- add_custom_target (zephyr_property_target)
638
+ add_custom_target (${IMAGE} zephyr_property_target)
639
639
640
640
# "app" is a CMake library containing all the application code and is
641
641
# modified by the entry point ${APPLICATION_SOURCE_DIR}/CMakeLists.txt
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ endfunction()
531
531
# Note: Ensure the given partition has been define using
532
532
# K_APPMEM_PARTITION_DEFINE in source code.
533
533
function (zephyr_library_app_memory partition)
534
- set_property (TARGET zephyr_property_target
534
+ set_property (TARGET ${IMAGE} zephyr_property_target
535
535
APPEND PROPERTY COMPILE_OPTIONS
536
536
"-l" $<TARGET_FILE_NAME:${ZEPHYR_CURRENT_LIBRARY} > "${partition} " )
537
537
endfunction ()
You can’t perform that action at this time.
0 commit comments