Module Name:    src
Committed By:   phx
Date:           Mon May 17 17:50:08 UTC 2010

Modified Files:
        src/sys/arch/sandpoint/stand/netboot: Makefile globals.h

Log Message:
CPPFLAGS cleanup, submited by Toru Nishimura.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sandpoint/stand/netboot/Makefile
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sandpoint/stand/netboot/globals.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sandpoint/stand/netboot/Makefile
diff -u src/sys/arch/sandpoint/stand/netboot/Makefile:1.16 src/sys/arch/sandpoint/stand/netboot/Makefile:1.17
--- src/sys/arch/sandpoint/stand/netboot/Makefile:1.16	Sun May  2 13:31:14 2010
+++ src/sys/arch/sandpoint/stand/netboot/Makefile	Mon May 17 17:50:08 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2010/05/02 13:31:14 phx Exp $
+#	$NetBSD: Makefile,v 1.17 2010/05/17 17:50:08 phx Exp $
 
 S=		${.CURDIR}/../../../..
 
@@ -9,9 +9,8 @@
 CFLAGS+=	-Wall -Wno-main -ffreestanding -msoft-float -mmultiple
 CFLAGS+=	-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
 CPPFLAGS+=	-D_STANDALONE -DSUPPORT_DHCP
-CPPFLAGS+=	-DCONSNAME=\"com\" -DCONSPORT=0x3f8 -DCONSSPEED=115200
+#CPPFLAGS+=	-DCONSNAME=\"com\" -DCONSPORT=0x3f8 -DCONSSPEED=115200
 #CPPFLAGS+=	-DCONSNAME=\"eumb\" -DCONSPORT=0x4600 -DCONSSPEED=57600
-#CPPFLAGS+=	-DTICKS_PER_SEC=(133333333/4)
 #CPPFLAGS+=	-DSTART_DDB_SESSION
 CPPFLAGS+=	-nostdinc -I. -I${.OBJDIR} -I${S}
 DBG=		-Os

Index: src/sys/arch/sandpoint/stand/netboot/globals.h
diff -u src/sys/arch/sandpoint/stand/netboot/globals.h:1.15 src/sys/arch/sandpoint/stand/netboot/globals.h:1.16
--- src/sys/arch/sandpoint/stand/netboot/globals.h:1.15	Sun May 16 11:27:49 2010
+++ src/sys/arch/sandpoint/stand/netboot/globals.h	Mon May 17 17:50:08 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: globals.h,v 1.15 2010/05/16 11:27:49 phx Exp $ */
+/* $NetBSD: globals.h,v 1.16 2010/05/17 17:50:08 phx Exp $ */
 
 /* clock feed */
 #ifndef EXT_CLK_FREQ
@@ -16,6 +16,16 @@
 #define BRD_STORCENTER		103
 #define BRD_UNKNOWN		-1
 
+#ifndef CONSNAME
+#define CONSNAME "com"
+#endif
+#ifndef CONSPORT
+#define CONSPORT 0x3f8
+#endif
+#ifndef CONSSPEED
+#define CONSSPEED 115200
+#endif
+
 extern char *consname;
 extern int consport;
 extern int consspeed;

Reply via email to