aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2016-02-01 02:59:00 +0900
committerArnaldo Carvalho de Melo <[email protected]>2016-03-03 11:10:37 -0300
commit676787939ef8ccfcf8039104f766ebe5ebe23924 (patch)
tree38156d2e3c92a6d4cfa5f04622553a1b2e1873fe
parent44d49a6002595ccb95712e86ad2857cd55207602 (diff)
tools build: Use .s extension for preprocessed assembler code
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 <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Aaro Koskinen <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Lukas Wunner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/build/Makefile.build2
1 files changed, 1 insertions, 1 deletions
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)