all: rename assembly files to .S extension

The Go tools only consider lowercase .s files to be assembly files. By
renaming these to uppercase .S files they won't be discovered by the Go
toolchain and listed as the SFiles to be assembled.

There is a difference between .s and .S: only uppercase .S will be
passed through the preprocessor. Doing that is normally safe, and
definitely safe in the case of these files.
This commit is contained in:
Ayke van Laethem
2021-10-16 23:45:47 +02:00
committed by Ron Evans
parent b6d6efde07
commit c4392d9472
4 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
"--gc-sections"
],
"extra-files": [
"src/device/arm/cortexm.s",
"src/device/arm/cortexm.S",
"src/internal/task/task_stack_cortexm.S",
"src/runtime/asm_arm.S"
],
+1 -1
View File
@@ -30,6 +30,6 @@
"targets/nintendoswitch.s",
"src/internal/task/task_stack_arm64.S",
"src/runtime/asm_arm64.S",
"src/runtime/runtime_nintendoswitch.s"
"src/runtime/runtime_nintendoswitch.S"
]
}