[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-676787939ef8ccfcf8039104f766ebe5ebe23924@git.kernel.org>
Date: Sat, 5 Mar 2016 00:18:16 -0800
From: tip-bot for Masahiro Yamada <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, mingo@...nel.org, yamada.masahiro@...ionext.com,
jolsa@...nel.org, adrian.hunter@...el.com, acme@...hat.com,
linux-kernel@...r.kernel.org, lukas@...ner.de,
aaro.koskinen@...ia.com, tglx@...utronix.de
Subject: [tip:perf/core] tools build: Use .s extension for preprocessed
assembler code
Commit-ID: 676787939ef8ccfcf8039104f766ebe5ebe23924
Gitweb: http://git.kernel.org/tip/676787939ef8ccfcf8039104f766ebe5ebe23924
Author: Masahiro Yamada <yamada.masahiro@...ionext.com>
AuthorDate: Mon, 1 Feb 2016 02:59:00 +0900
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 3 Mar 2016 11:10:37 -0300
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 <yamada.masahiro@...ionext.com>
Acked-by: Jiri Olsa <jolsa@...nel.org>
Cc: Aaro Koskinen <aaro.koskinen@...ia.com>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Lukas Wunner <lukas@...ner.de>
Link: http://lkml.kernel.org/r/1454263140-19670-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
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 4a96473..ee566e8 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)
Powered by blists - more mailing lists