mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
arch/tricore: add tasking compiler support to gen raw/hex binary
tasking compiler toolset does not provide binary generate tool, but the open source gcc compiler is able to do this, this patch will use tricore-elf-objcopy to generate raw binary and hex file when using tasking compiler to do the compiling and linking. Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
committed by
Xiang Xiao
parent
474835eabe
commit
71f558765c
@@ -39,8 +39,8 @@ set(CMAKE_ASM_COMPILER ${TOOLCHAIN_PREFIX}cctc)
|
||||
set(CMAKE_C_COMPILER ${CMAKE_ASM_COMPILER})
|
||||
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}cctc)
|
||||
set(CMAKE_STRIP strip --strip-unneeded)
|
||||
set(CMAKE_OBJCOPY echo)
|
||||
set(CMAKE_OBJDUMP elfdump)
|
||||
set(CMAKE_OBJCOPY ${TOOLCHAIN_PREFIX}tricore-elf-objcopy)
|
||||
set(CMAKE_OBJDUMP ${TOOLCHAIN_PREFIX}elfdump)
|
||||
|
||||
set(CMAKE_LINKER ${TOOLCHAIN_PREFIX}cctc)
|
||||
set(CMAKE_LD ${TOOLCHAIN_PREFIX}cctc)
|
||||
|
||||
Reference in New Issue
Block a user