Sun Jan 23 13:18:58 2011 UTC ()
Define NOMAN earlier


(joerg)
diff -r1.53 -r1.54 src/sys/arch/pmax/stand/Makefile.booters

cvs diff -r1.53 -r1.54 src/sys/arch/pmax/stand/Makefile.booters (expand / switch to unified diff)

--- src/sys/arch/pmax/stand/Makefile.booters 2011/01/22 19:19:21 1.53
+++ src/sys/arch/pmax/stand/Makefile.booters 2011/01/23 13:18:57 1.54
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1# $NetBSD: Makefile.booters,v 1.53 2011/01/22 19:19:21 joerg Exp $ 1# $NetBSD: Makefile.booters,v 1.54 2011/01/23 13:18:57 joerg Exp $
 2
 3NOMAN= # defined
2 4
3.include <bsd.own.mk> 5.include <bsd.own.mk>
4.include <bsd.sys.mk> # for HOST_SH 6.include <bsd.sys.mk> # for HOST_SH
5 7
6# $S must correspond to the top of the 'sys' tree 8# $S must correspond to the top of the 'sys' tree
7S= ${.CURDIR}/../../../.. 9S= ${.CURDIR}/../../../..
8 10
9BINMODE?= 444 11BINMODE?= 444
10 12
11# XXX SHOULD NOT NEED TO DEFINE THESE! 13# XXX SHOULD NOT NEED TO DEFINE THESE!
12LIBCRT0= 14LIBCRT0=
13LIBC= 15LIBC=
14LIBCRTBEGIN= 16LIBCRTBEGIN=
@@ -21,28 +23,26 @@ CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ @@ -21,28 +23,26 @@ CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_
21 -I${.OBJDIR} -I${S} 23 -I${.OBJDIR} -I${S}
22# compiler flags for smallest code size 24# compiler flags for smallest code size
23CFLAGS= -ffreestanding -Os -g -mmemcpy -mno-abicalls -G 128 25CFLAGS= -ffreestanding -Os -g -mmemcpy -mno-abicalls -G 128
24CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith 26CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
25CFLAGS+= -Werror 27CFLAGS+= -Werror
26LDBUG= -T $S/arch/mips/conf/stand.ldscript 28LDBUG= -T $S/arch/mips/conf/stand.ldscript
27 29
28NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh 30NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
29CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"' 31CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
30 32
31PRIMARY_LOAD_ADDRESS?= 0x80700000 33PRIMARY_LOAD_ADDRESS?= 0x80700000
32SECONDARY_LOAD_ADDRESS?=0x80710000 34SECONDARY_LOAD_ADDRESS?=0x80710000
33 35
34NOMAN= # defined 
35 
36.if defined(PRIMARY_PROG) 36.if defined(PRIMARY_PROG)
37PROG= ${PRIMARY_PROG} 37PROG= ${PRIMARY_PROG}
38SRCS = start.S bootxx.c callvec.c 38SRCS = start.S bootxx.c callvec.c
39SRCS+= devopen.c conf.c rz.c 39SRCS+= devopen.c conf.c rz.c
40SRCS+= bootinit.S bootread.S clear_cache.S printf.S 40SRCS+= bootinit.S bootread.S clear_cache.S printf.S
41 41
42LOAD_ADDRESS= ${PRIMARY_LOAD_ADDRESS} 42LOAD_ADDRESS= ${PRIMARY_LOAD_ADDRESS}
43# Pick a number, any number... 43# Pick a number, any number...
44PRIMARY_MAX_TOTAL!= expr 16 \* 1024 44PRIMARY_MAX_TOTAL!= expr 16 \* 1024
45 45
46CPPFLAGS+= -DPRIMARY_BOOTBLOCK \ 46CPPFLAGS+= -DPRIMARY_BOOTBLOCK \
47 -DPRIMARY_LOAD_ADDRESS="${PRIMARY_LOAD_ADDRESS}" \ 47 -DPRIMARY_LOAD_ADDRESS="${PRIMARY_LOAD_ADDRESS}" \
48 -DNO_GETCHAR \ 48 -DNO_GETCHAR \