From 5492731b888d63668ccf4fc3ba83bfdfa7828679 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 3 Sep 2020 09:32:33 -0500 Subject: [PATCH] build: Fix usage of hardcoded zephyr.{elf,bin,hex} on faze board Make similar fix for faze board to use ${KERNEL_BIN_NAME} and ${KERNEL_HEX_NAME} variables as its possible to rename the executable binary via CONFIG_KERNEL_BIN_NAME. This fixes tests/misc/test_build/buildsystem.kconfig.utf8_in_values Fixes #28013 Signed-off-by: Kumar Gala --- boards/arm/faze/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/faze/CMakeLists.txt b/boards/arm/faze/CMakeLists.txt index 35ec70e2376..bbd703a4203 100644 --- a/boards/arm/faze/CMakeLists.txt +++ b/boards/arm/faze/CMakeLists.txt @@ -7,6 +7,6 @@ set_property(GLOBAL APPEND PROPERTY extra_post_build_commands # Insert checksum (verified by the bootloader) into the zephyr.bin # and zephyr.hex images. - COMMAND lpc_checksum -f hex ${CMAKE_BINARY_DIR}/zephyr/zephyr.hex - COMMAND lpc_checksum -f bin ${CMAKE_BINARY_DIR}/zephyr/zephyr.bin + COMMAND lpc_checksum -f hex ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_HEX_NAME} + COMMAND lpc_checksum -f bin ${CMAKE_BINARY_DIR}/zephyr/${KERNEL_BIN_NAME} )