diff options
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,10 +52,10 @@ targets += arch/$(SRCARCH)/kernel/asm-offsets.s | |||
52 | 52 | ||
53 | # Default sed regexp - multiline due to syntax constraints | 53 | # Default sed regexp - multiline due to syntax constraints |
54 | define sed-y | 54 | define sed-y |
55 | "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" | 55 | "/^->/{s:->#\(.*\):/* \1 */:; \ |
56 | s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ | ||
57 | s:->::; p;}" | ||
56 | endef | 58 | endef |
57 | # Override default regexp for specific architectures | ||
58 | sed-$(CONFIG_MIPS) := "/^@@@/{s/^@@@//; s/ \#.*\$$//; p;}" | ||
59 | 59 | ||
60 | quiet_cmd_offsets = GEN $@ | 60 | quiet_cmd_offsets = GEN $@ |
61 | define cmd_offsets | 61 | define cmd_offsets |