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:
parent
474835eabe
commit
71f558765c
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue