From 0e828b92f199640da49373ab51ce9f42efd2156f Mon Sep 17 00:00:00 2001 From: Sebastian Wendt Date: Thu, 12 Oct 2023 06:46:47 +0200 Subject: ADSP: Add support for assembler In commit e9eabb0dcd (ADSP: Configure compiler in compiler module, 2022-03-24, v3.24.0-rc1~331^2~1) we added compiler information modules for the ADSP C and C++ compilers. Add one for the assembler too. We already identify the ADSP assembler since commit f83330ed6c (ASM: ADSP assembler identification, 2018-01-30, v3.11.0-rc1~35^2). --- Modules/Compiler/ADSP-ASM.cmake | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Modules/Compiler/ADSP-ASM.cmake diff --git a/Modules/Compiler/ADSP-ASM.cmake b/Modules/Compiler/ADSP-ASM.cmake new file mode 100644 index 0000000..9ef5142 --- /dev/null +++ b/Modules/Compiler/ADSP-ASM.cmake @@ -0,0 +1,6 @@ +include(Compiler/ADSP) +__compiler_adsp(ASM) + +set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm) +set(CMAKE_ASM_OUTPUT_EXTENSION ".o" ) +set(CMAKE_ASM_COMPILE_OBJECT " -o ") -- cgit v0.12