| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Fix sed regexp to generate asm-offset.h |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Tue, 28 Mar 2006 00:18:54 +0900 (JST) |
| Cc: | linux-kernel@vger.kernel.org, ralf@linux-mips.org, akpm@osdl.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.6.14 - problem with malta, Kishore K |
|---|---|
| Next by Date: | Re: 2.6.14 - problem with malta, Kevin D. Kissell |
| Previous by Thread: | [PATCH] serial8250: set divisor register correctly for AMD Alchemy SoC uart. Re-posted., Jon Anders Haugum |
| Next by Thread: | Assember error in arch/mips/kernel/r4k_switch.S / latest git 2.6.16, Ralf Rösch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |