* [PATCH] Fix sed regexp to generate asm-offset.h
@ 2006-03-27 15:18 Atsushi Nemoto
2006-04-05 11:00 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2006-03-27 15:18 UTC (permalink / raw)
To: linux-mips; +Cc: linux-kernel, ralf, akpm
Changes to Makefile.kbuild ("kbuild: add -fverbose-asm to i386
Makefile") breaks asm-offset.h file on MIPS. Other archs possibly
suffer this change too but I'm not sure.
Here is a fix just for MIPS.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
diff --git a/Kbuild b/Kbuild
index 95d6a00..2d4f95e 100644
--- a/Kbuild
+++ b/Kbuild
@@ -18,7 +18,7 @@ define sed-y
"/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"
endef
# Override default regexp for specific architectures
-sed-$(CONFIG_MIPS) := "/^@@@/s///p"
+sed-$(CONFIG_MIPS) := "/^@@@/{s/^@@@//; s/ \#.*\$$//; p;}"
quiet_cmd_offsets = GEN $@
define cmd_offsets
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix sed regexp to generate asm-offset.h
2006-03-27 15:18 [PATCH] Fix sed regexp to generate asm-offset.h Atsushi Nemoto
@ 2006-04-05 11:00 ` Sam Ravnborg
0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2006-04-05 11:00 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips, linux-kernel, ralf, akpm
On Tue, Mar 28, 2006 at 12:18:54AM +0900, Atsushi Nemoto wrote:
> Changes to Makefile.kbuild ("kbuild: add -fverbose-asm to i386
> Makefile") breaks asm-offset.h file on MIPS. Other archs possibly
> suffer this change too but I'm not sure.
>
> Here is a fix just for MIPS.
Thanks, applied to the kbuild bugfix tree.
Sam
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-05 11:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-27 15:18 [PATCH] Fix sed regexp to generate asm-offset.h Atsushi Nemoto
2006-04-05 11:00 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®