Home | History | Annotate | Line # | Download | only in boot
Makefile revision 1.3.2.2
      1  1.3.2.2  thorpej #	$NetBSD: Makefile,v 1.3.2.2 2002/01/10 19:48:33 thorpej Exp $
      2  1.3.2.2  thorpej 
      3  1.3.2.2  thorpej PROG=	boot
      4  1.3.2.2  thorpej 
      5  1.3.2.2  thorpej SRCS=	start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c disk.c
      6  1.3.2.2  thorpej 
      7  1.3.2.2  thorpej ${PROG}: ${PROG}.elf
      8  1.3.2.2  thorpej 	${OBJCOPY} -O ecoff-bigmips ${PROG}.elf ${PROG}
      9  1.3.2.2  thorpej 	@${SIZE} ${PROG}
     10  1.3.2.2  thorpej 
     11  1.3.2.2  thorpej # XXX Temporary hack to install the ELF verision, too.
     12  1.3.2.2  thorpej FILES+=		${PROG}.elf
     13  1.3.2.2  thorpej CLEANFILES+=	${PROG}.elf
     14  1.3.2.2  thorpej 
     15  1.3.2.2  thorpej CLEANFILES+=	${PROG}.map
     16  1.3.2.2  thorpej 
     17  1.3.2.2  thorpej .include "../Makefile.booters"
     18  1.3.2.2  thorpej 
     19  1.3.2.2  thorpej ${PROG}.elf: ${OBJS} ${LIBS}
     20  1.3.2.2  thorpej 	${LD} -Map ${PROG}.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
     21  1.3.2.2  thorpej 	    -e start -o ${PROG}.elf ${OBJS} ${LIBS}
     22  1.3.2.2  thorpej 	@${STRIP} -s ${PROG}.elf
     23  1.3.2.2  thorpej 	@${SIZE} ${PROG}.elf
     24