xcc: do not make assumptions about toolchain path
the toolchain path can either be part of a full SDK install or standalone, support both modes. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b76cbe9af9
commit
7c15ccf8ca
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ if(NOT EXISTS ${XTENSA_TOOLCHAIN_PATH})
|
|||
message(FATAL_ERROR "Nothing found at XTENSA_TOOLCHAIN_PATH: '${XTENSA_TOOLCHAIN_PATH}'")
|
||||
endif()
|
||||
|
||||
set(TOOLCHAIN_HOME ${XTENSA_TOOLCHAIN_PATH}/XtDevTools/install/tools/$ENV{TOOLCHAIN_VER}/XtensaTools)
|
||||
set(TOOLCHAIN_HOME ${XTENSA_TOOLCHAIN_PATH}/$ENV{TOOLCHAIN_VER}/XtensaTools)
|
||||
|
||||
set(COMPILER xcc)
|
||||
set(LINKER ld)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue