cmake: change object files extension to .o

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-02-05 22:29:57 +01:00 committed by Liam Girdwood
parent 82387c07a1
commit 0144b2f41f
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
set(CMAKE_C_OUTPUT_EXTENSION ".o")
set(CMAKE_ASM_OUTPUT_EXTENSION ".o")

View File

@ -1,5 +1,7 @@
message(STATUS "Preparing Xtensa toolchain")
set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_LIST_DIR}/xtensa-platform.cmake")
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_VERSION 1)