Browse Source

Merge topic 'adsp-asm-support'

23c91b55d6 ADSP: Treat .s files as asm sources
43b5e88fe6 ADSP: Preserve ASM output ext and flags as we do for C and CXX

Acked-by: Kitware Robot <[email protected]>
Merge-request: !9530
Brad King 1 year ago
parent
commit
1f8bcd0a7c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Modules/Compiler/ADSP-ASM.cmake

+ 1 - 3
Modules/Compiler/ADSP-ASM.cmake

@@ -1,6 +1,4 @@
 include(Compiler/ADSP)
 __compiler_adsp(ASM)
 
-set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
-set(CMAKE_ASM_OUTPUT_EXTENSION ".o" )
-set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
+set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS S;s;asm)