Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348569

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

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 03/11] tools build: Use .s extension for preprocessed assembler code
Date 2016-03-02 23:30 +0100
Message-ID <r8nrk-632-3@gated-at.bofh.it> (permalink)
References <r8nhD-5Zk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Masahiro Yamada <yamada.masahiro@socionext.com>

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@socionext.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Lukas Wunner <lukas@wunner.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@redhat.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 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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[GIT PULL 00/11] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 04/11] perf script: Fix double free on command_line Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 08/11] perf test: Fix hists related entries Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 09/11] perf tests: Initialize sa.sa_flags Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 06/11] tools lib traceevent: Set int_array fields to NULL if freeing from error Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 01/11] perf stat: Implement CSV metrics output Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:20 +0100
  [PATCH 03/11] tools build: Use .s extension for preprocessed assembler code Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-02 23:30 +0100

csiph-web