fd780466d5
embedded newlines.
13 lines
795 B
Text
13 lines
795 B
Text
$NetBSD: patch-bb,v 1.1 2006/01/12 00:05:04 joerg Exp $
|
|
|
|
--- System/Common/Makefile.orig 1999-10-21 22:26:32.000000000 +0000
|
|
+++ System/Common/Makefile
|
|
@@ -33,7 +33,7 @@ CONFIG: Makefile ../../Makefile CONFIG.p
|
|
@echo "-- in the top level Makefile. Please do not edit it" >> $(TMPFILE)
|
|
@echo "#define CONFIG_DEFAULT_PLATFORM \"$(DEFAULT_PLATFORM)\"" >> $(TMPFILE)
|
|
@echo -n "#define CONFIG_PLATFORMS \"" >> $(TMPFILE)
|
|
- @echo -n $(PLATFORMS) | sed "s/ //;s/,/\",\"/" >> $(TMPFILE)
|
|
+ @echo $(PLATFORMS) | sed "s/ //;s/,/\",\"/" | sed 's/$$/\\/' >> $(TMPFILE)
|
|
@echo "\"" >> $(TMPFILE)
|
|
@echo "#include \"CONFIG.proto\"" >> $(TMPFILE)
|
|
@$(CPP) -undef $(TMPFILE) > CONFIG
|