aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-05-01 11:58:54 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:58:54 -0400
commitb05d85a87d9711f5f5f2eb05c79038d5d5ff1f44 (patch)
treee2967e71c536de5085a31ad0aa761e25e6d7b382 /arch/um
parent6aec3072833283a5e2ecf07318bd383a67321657 (diff)
[PATCH] uml: workaround old problematic sed behaviour
Old versions of sed from 1998 (predating the first release of gcc 2.95, but still in use by debian stable) don't understand the single-line version of the sed append command. Since newer versions of sed still understand the... ahem, "vintage" form of the command, change our code to use that. Signed-off-by: Rob Landley <rob@landley.net> Acked-by: Ian McDonald <imcdnzl@gmail.com> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile
index dc796c1bf39e..280d3000111b 100644
--- a/arch/um/kernel/Makefile
+++ b/arch/um/kernel/Makefile
@@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@
53 cmd_quote2 = sed -e '/CONFIG/{' \ 53 cmd_quote2 = sed -e '/CONFIG/{' \
54 -e 's/"CONFIG"\;/""/' \ 54 -e 's/"CONFIG"\;/""/' \
55 -e 'r $(obj)/config.tmp' \ 55 -e 'r $(obj)/config.tmp' \
56 -e 'a""\;' \ 56 -e 'a \' \
57 -e '""\;' \
57 -e '}' \ 58 -e '}' \
58 $< > $@ 59 $< > $@