1 1.5.2.5 skrll # $NetBSD: Makefile,v 1.5.2.5 2005/11/10 13:58:37 skrll Exp $ 2 1.1 thorpej 3 1.5.2.1 skrll PROG= aoutboot 4 1.1 thorpej 5 1.4 rafal # Don't strip the ECOFF'ed version on install -- strip gets confused by that, 6 1.4 rafal # and it's already stripped since it's a copy of the stripped ELF one. 7 1.4 rafal # 8 1.4 rafal STRIPFLAG= 9 1.4 rafal 10 1.5.2.1 skrll SRCS= start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c \ 11 1.5.2.1 skrll getopt.c disk.c 12 1.1 thorpej 13 1.5.2.1 skrll ${PROG}: ip2xboot ip3xboot 14 1.5.2.4 skrll ${OBJCOPY} --impure -O ecoff-bigmips \ 15 1.5.2.4 skrll -R .pdr -R .mdebug.abi32 -R .comment -R .ident \ 16 1.5.2.4 skrll ip2xboot aoutboot 17 1.3 thorpej 18 1.5.2.4 skrll # XXX Temporary hack to install the ELF version, too. 19 1.5.2.1 skrll FILES+= ip2xboot ip3xboot 20 1.5.2.1 skrll CLEANFILES+= ip2xboot ip3xboot 21 1.3 thorpej 22 1.5.2.1 skrll CLEANFILES+= boot.map 23 1.3 thorpej 24 1.1 thorpej .include "../Makefile.booters" 25 1.5 pooka 26 1.5.2.1 skrll ip3xboot: ${OBJS} ${LIBS} 27 1.5.2.5 skrll ${LD} -Map boot.map -N -x -Ttext ${LOAD_ADDRESS_IP32} ${LDBUG} \ 28 1.5.2.1 skrll -e start -o ip3xboot ${OBJS} ${LIBS} 29 1.5.2.1 skrll @${STRIP} -s ip3xboot 30 1.5.2.1 skrll @${SIZE} ip3xboot 31 1.5.2.1 skrll 32 1.5.2.1 skrll ip2xboot: ${OBJS} ${LIBS} 33 1.5.2.5 skrll ${LD} -Map boot.map -N -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \ 34 1.5.2.1 skrll -e start -o ip2xboot ${OBJS} ${LIBS} 35 1.5.2.1 skrll @${STRIP} -s ip2xboot 36 1.5.2.1 skrll @${SIZE} ip2xboot 37