Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/stand/netboot CPPFLAGS cleanup, submited ...
details: https://anonhg.NetBSD.org/src/rev/79a0e0925807
branches: trunk
changeset: 754954:79a0e0925807
user: phx <phx%NetBSD.org@localhost>
date: Mon May 17 17:50:08 2010 +0000
description:
CPPFLAGS cleanup, submited by Toru Nishimura.
diffstat:
sys/arch/sandpoint/stand/netboot/Makefile | 5 ++---
sys/arch/sandpoint/stand/netboot/globals.h | 12 +++++++++++-
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 0a2aa3b4aac1 -r 79a0e0925807 sys/arch/sandpoint/stand/netboot/Makefile
--- a/sys/arch/sandpoint/stand/netboot/Makefile Mon May 17 17:48:59 2010 +0000
+++ b/sys/arch/sandpoint/stand/netboot/Makefile Mon May 17 17:50:08 2010 +0000
@@ -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
diff -r 0a2aa3b4aac1 -r 79a0e0925807 sys/arch/sandpoint/stand/netboot/globals.h
--- a/sys/arch/sandpoint/stand/netboot/globals.h Mon May 17 17:48:59 2010 +0000
+++ b/sys/arch/sandpoint/stand/netboot/globals.h Mon May 17 17:50:08 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index