[PATCH 03/11] tools build: Use .s extension for preprocessed assembler code

From: Arnaldo Carvalho de Melo
Date: Wed Mar 02 2016 - 17:19:57 EST


From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

The "man gcc" says .i extension represents the file is C source code
that should not be preprocessed. Here, .s should be used.

For clarification,
.c ---(preprocess)---> .i
.S ---(preprocess)---> .s

Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Lukas Wunner <lukas@xxxxxxxxx>
Link: http://lkml.kernel.org/r/1454263140-19670-1-git-send-email-yamada.masahiro@xxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/build/Makefile.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
index 4a96473b180f..ee566e8bd1cf 100644
--- a/tools/build/Makefile.build
+++ b/tools/build/Makefile.build
@@ -85,7 +85,7 @@ $(OUTPUT)%.i: %.c FORCE
$(call rule_mkdir)
$(call if_changed_dep,cc_i_c)

-$(OUTPUT)%.i: %.S FORCE
+$(OUTPUT)%.s: %.S FORCE
$(call rule_mkdir)
$(call if_changed_dep,cc_i_c)

--
2.5.0