scripts: move mergehex.py to scripts/build
Move scripts needed by the build system and not designed to be run individually or standalone into the build subfolder. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
09b4becaee
commit
72e7fa8176
3 changed files with 5 additions and 5 deletions
|
@ -1791,7 +1791,7 @@ if(HEX_FILES_TO_MERGE)
|
|||
OUTPUT ${MERGED_HEX_NAME}
|
||||
COMMAND
|
||||
${PYTHON_EXECUTABLE}
|
||||
${ZEPHYR_BASE}/scripts/mergehex.py
|
||||
${ZEPHYR_BASE}/scripts/build/mergehex.py
|
||||
-o ${MERGED_HEX_NAME}
|
||||
${HEX_FILES_TO_MERGE}
|
||||
DEPENDS ${HEX_FILES_TO_MERGE} ${logical_target_for_zephyr_elf}
|
||||
|
|
|
@ -419,7 +419,7 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
if (NOT CONFIG_TFM_BL2)
|
||||
# Merge tfm_s and zephyr (NS) image to a single binary.
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/mergehex.py
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
|
||||
-o ${MERGED_FILE}
|
||||
$<TARGET_PROPERTY:tfm,TFM_S_HEX_FILE>
|
||||
${NS_APP_FILE}
|
||||
|
@ -433,14 +433,14 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
tfm_sign(sign_cmd NS TRUE ${S_NS_FILE} ${S_NS_SIGNED_FILE})
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/mergehex.py
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
|
||||
-o ${S_NS_FILE}
|
||||
$<TARGET_PROPERTY:tfm,TFM_S_HEX_FILE>
|
||||
${NS_APP_FILE}
|
||||
|
||||
COMMAND ${sign_cmd}
|
||||
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/mergehex.py
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
|
||||
-o ${MERGED_FILE}
|
||||
$<TARGET_PROPERTY:tfm,BL2_HEX_FILE>
|
||||
${S_NS_SIGNED_FILE}
|
||||
|
@ -466,7 +466,7 @@ if (CONFIG_BUILD_WITH_TFM)
|
|||
COMMAND ${sign_cmd_ns}
|
||||
COMMAND ${sign_cmd_s}
|
||||
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/mergehex.py
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/build/mergehex.py
|
||||
-o ${MERGED_FILE}
|
||||
$<TARGET_PROPERTY:tfm,BL2_HEX_FILE>
|
||||
${S_SIGNED_FILE}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue