Module Name: src
Committed By: phx
Date: Wed May 25 19:26:21 UTC 2011
Modified Files:
src/sys/arch/sandpoint/stand/altboot: Makefile
Removed Files:
src/sys/arch/sandpoint/stand/altboot: printf.c
Log Message:
Use printf() from libsa.
Ok by nisimura@.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sandpoint/stand/altboot/Makefile
cvs rdiff -u -r1.4 -r0 src/sys/arch/sandpoint/stand/altboot/printf.c
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/altboot/Makefile
diff -u src/sys/arch/sandpoint/stand/altboot/Makefile:1.10 src/sys/arch/sandpoint/stand/altboot/Makefile:1.11
--- src/sys/arch/sandpoint/stand/altboot/Makefile:1.10 Sun Mar 6 18:22:13 2011
+++ src/sys/arch/sandpoint/stand/altboot/Makefile Wed May 25 19:26:21 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2011/03/06 18:22:13 phx Exp $
+# $NetBSD: Makefile,v 1.11 2011/05/25 19:26:21 phx Exp $
S= ${.CURDIR}/../../../..
@@ -8,11 +8,11 @@
SRCS= entry.S main.c brdsetup.c pci.c devopen.c dev_net.c memfs.c
SRCS+= nif.c fxp.c tlp.c rge.c skg.c stg.c
SRCS+= dsk.c pciide.c siisata.c
-SRCS+= printf.c vers.c
+SRCS+= vers.c
CLEANFILES+= vers.c ${PROG} ${PROG}.bin ${PROG}.img
CFLAGS+= -Wall -Wno-main -ffreestanding -msoft-float -mmultiple
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-CPPFLAGS+= -D_STANDALONE -DSUPPORT_DHCP
+CPPFLAGS+= -D_STANDALONE -DSUPPORT_DHCP -DLIBSA_PRINTF_WIDTH_SUPPORT
#CPPFLAGS+= -DCONSNAME=\"com\" -DCONSPORT=0x3f8 -DCONSSPEED=115200
#CPPFLAGS+= -DCONSNAME=\"eumb\" -DCONSPORT=0x4600 -DCONSSPEED=57600
CPPFLAGS+= -nostdinc -I. -I${.OBJDIR} -I${S}