soc/intel_adsp: Honor CONFIG_KERNEL_BINARY_NAME
Turns out that the user can configure the "zephyr.elf" name via kconfig to be "something_else.elf" instead. And there's a test the does this. Use the right variable; don't hardcode. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
ebd0e9f605
commit
f5267d9ff2
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ add_custom_target(
|
|||
COMMAND ${CMAKE_OBJCOPY} --add-section .module=mod-apl.bin --set-section-flags .module=load,readonly ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME} ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}.mod
|
||||
|
||||
# Adjust final section addresses so they all appear in the cached region.
|
||||
COMMAND ${ELF_FIX} ${CMAKE_OBJCOPY} ${CMAKE_BINARY_DIR}/zephyr/zephyr.elf.mod
|
||||
COMMAND ${ELF_FIX} ${CMAKE_OBJCOPY} ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}.mod
|
||||
)
|
||||
|
||||
add_custom_target(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue