aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kbuild b/Kbuild
index 7136de7b6fcb..32f19c5c9bb0 100644
--- a/Kbuild
+++ b/Kbuild
@@ -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
54define sed-y 54define sed-y
55 "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" 55 "/^->/{s:->#\(.*\):/* \1 */:; \
56 s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
57 s:->::; p;}"
56endef 58endef
57# Override default regexp for specific architectures
58sed-$(CONFIG_MIPS) := "/^@@@/{s/^@@@//; s/ \#.*\$$//; p;}"
59 59
60quiet_cmd_offsets = GEN $@ 60quiet_cmd_offsets = GEN $@
61define cmd_offsets 61define cmd_offsets