[PATCH 42/46] kbuild: add -fverbose-asm to i386 Makefile

Sam Ravnborg
2006-03-21T16:21:36Z

Add -fverbose-asm to i386 Makefile rule for building .s files. This makes
the assembler output much more readable for humans.

Suggested by Der Herr Hofrat <der.herr@hofr.at>

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

---

scripts/Makefile.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

7d1859835cd6c0afd1773d249300da82b1b868a5
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 19ef2bc..e48e60d 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -129,7 +129,7 @@ $(multi-objs-y:.o=.s) : modname = $(mo
$(multi-objs-y:.o=.lst) : modname = $(modname-multi)

quiet_cmd_cc_s_c = CC $(quiet_modtag) $@
-cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $<
+cmd_cc_s_c = $(CC) $(c_flags) -fverbose-asm -S -o $@ $<

%.s: %.c FORCE
$(call if_changed_dep,cc_s_c)
--
1.0.GIT