File tree Expand file tree Collapse file tree 3 files changed +10
-22
lines changed
arch/arm/core/cortex_m/tz
boards/xtensa/intel_s1000_crb Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -1428,25 +1428,15 @@ if(CONFIG_BUILD_OUTPUT_EXE)
14281428 )
14291429endif ()
14301430
1431- get_property (extra_post_build_commands
1432- GLOBAL PROPERTY
1433- extra_post_build_commands
1434- )
1435-
1436- list (APPEND
1437- post_build_commands
1438- ${extra_post_build_commands}
1439- )
1440-
1441- get_property (extra_post_build_byproducts
1442- GLOBAL PROPERTY
1443- extra_post_build_byproducts
1444- )
1431+ get_target_property (extra_post_build_commands ${ZEPHYR_TARGET} extra_post_build_commands)
1432+ if (extra_post_build_commands)
1433+ list (APPEND post_build_commands ${extra_post_build_commands} )
1434+ endif ()
14451435
1446- list ( APPEND
1447- post_build_byproducts
1448- ${extra_post_build_byproducts}
1449- )
1436+ get_target_property (extra_post_build_byproducts ${ZEPHYR_TARGET} extra_post_build_byproducts)
1437+ if (extra_post_build_byproducts)
1438+ list ( APPEND post_build_byproducts ${extra_post_build_byproducts} )
1439+ endif ( )
14501440
14511441# Add post_build_commands to post-process the final .elf file produced by
14521442# either the ZEPHYR_PREBUILT_EXECUTABLE or the KERNEL_ELF executable
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ if(CONFIG_ARM_FIRMWARE_HAS_SECURE_ENTRY_FUNCS)
2020 )
2121
2222 # Indicate that the entry veneers library file is created during linking of this firmware.
23- set_property (
24- GLOBAL APPEND PROPERTY
25- extra_post_build_byproducts
23+ set_property (TARGET ${ZEPHYR_TARGET} APPEND PROPERTY extra_post_build_byproducts
2624 ${CMAKE_BINARY_DIR} /${CONFIG_ARM_ENTRY_VENEERS_LIB_NAME}
2725 )
2826endif ()
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if(CONFIG_PINMUX_INTEL_S1000)
55 zephyr_library_sources(pinmux.c)
66endif ()
77
8- set_property (GLOBAL APPEND PROPERTY extra_post_build_commands
8+ set_property (TARGET ${ZEPHYR_TARGET} APPEND PROPERTY extra_post_build_commands
99 COMMAND ${PYTHON_EXECUTABLE} ${BOARD_DIR} /support/create_board_img.py
1010 -i ${PROJECT_BINARY_DIR} /${CONFIG_KERNEL_BIN_NAME} .bin
1111 -o ${PROJECT_BINARY_DIR} /${CONFIG_KERNEL_BIN_NAME} _${BOARD} .bin
You can’t perform that action at this time.
0 commit comments