| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.16 2013/06/15 00:40:12 christos Exp $ | | 1 | # $NetBSD: Makefile,v 1.17 2013/06/17 17:44:16 christos Exp $ |
2 | | | 2 | |
3 | PROG= xxboot | | 3 | PROG= xxboot |
4 | NOMAN= # defined | | 4 | NOMAN= # defined |
5 | SRCS= start.S main.c readufs.c readufs_ffs.c readufs_lfs.c milli_tiny.S | | 5 | SRCS= start.S main.c readufs.c readufs_ffs.c readufs_lfs.c milli_tiny.S |
6 | | | 6 | |
7 | .PATH: ${.CURDIR}/../common | | 7 | .PATH: ${.CURDIR}/../common |
8 | | | 8 | |
9 | CPPFLAGS+= -I${.CURDIR}/../../../.. -I. -D_STANDALONE | | 9 | CPPFLAGS+= -I${.CURDIR}/../../../.. -I. -D_STANDALONE |
10 | # configuration for readufs module | | 10 | # configuration for readufs module |
11 | CPPFLAGS+= -DUSE_LFS -DUSE_FFS -DUSE_UFS1 -DUSE_UFS2 | | 11 | CPPFLAGS+= -DUSE_LFS -DUSE_FFS -DUSE_UFS1 -DUSE_UFS2 |
12 | # IODC can handle only 2GB, so this is enough | | 12 | # IODC can handle only 2GB, so this is enough |
13 | CPPFLAGS+= -D__daddr_t=int32_t | | 13 | CPPFLAGS+= -D__daddr_t=int32_t |
14 | # ANSI C feature prevents from being relocatable | | 14 | # ANSI C feature prevents from being relocatable |
15 | #CPPFLAGS+= -traditional # would be best | | 15 | #CPPFLAGS+= -traditional # would be best |
16 | CPPFLAGS+= -Dconst= | | 16 | CPPFLAGS+= -Dconst= |
17 | COPTS+= -funsigned-char -mdisable-fpregs -mpa-risk-1-0 | | 17 | COPTS+= -funsigned-char -mdisable-fpregs -mpa-risc-1-0 |
18 | | | 18 | |
19 | .include <bsd.own.mk> | | 19 | .include <bsd.own.mk> |
20 | | | 20 | |
21 | LINKS= ${BINDIR}/${PROG} ${BINDIR}/sdboot | | 21 | LINKS= ${BINDIR}/${PROG} ${BINDIR}/sdboot |
22 | | | 22 | |
23 | BINDIR= /usr/mdec | | 23 | BINDIR= /usr/mdec |
24 | STRIPFLAG= | | 24 | STRIPFLAG= |
25 | BINMODE= 444 | | 25 | BINMODE= 444 |
26 | | | 26 | |
27 | # standalone program | | 27 | # standalone program |
28 | LIBCRTBEGIN= | | 28 | LIBCRTBEGIN= |
29 | LIBCRT0= | | 29 | LIBCRT0= |
30 | LIBCRTEND= | | 30 | LIBCRTEND= |