blob: b8ff1f1f93ba685c2485ddd79c45abbed0f657cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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
|