[patch] kbuild: add -fverbose-asm to i386 Makefile

From: Chuck Ebbert
Date: Fri Feb 10 2006 - 16:43:21 EST


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@xxxxxxx>

Signed-off-by: Chuck Ebbert <76306.1226@xxxxxxxxxxxxxx>

--- 2.6.16-rc2-mm1-32s.orig/scripts/Makefile.build
+++ 2.6.16-rc2-mm1-32s/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)
--
Chuck
"Equations are the Devil's sentences." --Stephen Colbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/