Commit 0947640f4388de50a39f762748b08e586a482527

Authored by Atsushi Nemoto
Committed by Sam Ravnborg
1 parent bc2546a679

kbuild: mips: fix sed regexp to generate asm-offset.h

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>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -18,7 +18,7 @@
18 18 "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"
19 19 endef
20 20 # Override default regexp for specific architectures
21   -sed-$(CONFIG_MIPS) := "/^@@@/s///p"
  21 +sed-$(CONFIG_MIPS) := "/^@@@/{s/^@@@//; s/ \#.*\$$//; p;}"
22 22  
23 23 quiet_cmd_offsets = GEN $@
24 24 define cmd_offsets