diff --git a/sys/arch/atari/stand/bootxx/Makefile.bootxx b/sys/arch/atari/stand/bootxx/Makefile.bootxx index 920d82261b06..c9acf4a282d0 100644 --- a/sys/arch/atari/stand/bootxx/Makefile.bootxx +++ b/sys/arch/atari/stand/bootxx/Makefile.bootxx @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootxx,v 1.3 2003/10/28 11:41:46 he Exp $ +# $NetBSD: Makefile.bootxx,v 1.4 2004/03/12 17:52:54 jmc Exp $ NOMAN= # defined @@ -42,17 +42,17 @@ DPADD= ${LIBSA} LDADD= ${LIBSA} beforeinstall: - @len=`size ${PROG} | awk 'NR==2 { print $$1+$$2 }'`; \ + @len=`${SIZE} ${PROG} | awk 'NR==2 { print $$1+$$2 }'`; \ if [ $$len -gt 6656 ]; then \ - size ${PROG}; \ + ${SIZE} ${PROG}; \ false; \ fi; \ ${OBJCOPY} -O binary ${PROG} ${PROG}XX - @cat ${PROG}XX /dev/zero | dd of=${PROG}X \ + @${TOOL_CAT} ${PROG}XX /dev/zero | dd of=${PROG}X \ bs=1 count=6656 2>/dev/null @mv -f ${PROG} ${PROG}XX @mv -f ${PROG}X ${PROG}; - mkdir -p ${DESTDIR}${BINDIR} + ${INSTALL_DIR} ${DESTDIR}${BINDIR} afterinstall: @mv -f ${PROG}XX ${PROG} diff --git a/sys/arch/atari/stand/xxboot/Makefile.xxboot b/sys/arch/atari/stand/xxboot/Makefile.xxboot index c9065d255167..fb1c4a060abb 100644 --- a/sys/arch/atari/stand/xxboot/Makefile.xxboot +++ b/sys/arch/atari/stand/xxboot/Makefile.xxboot @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.xxboot,v 1.2 2003/06/28 09:30:26 he Exp $ +# $NetBSD: Makefile.xxboot,v 1.3 2004/03/12 17:52:54 jmc Exp $ BINDIR= /usr/mdec/${BTYPE:tl} BINMODE= ${NONBINMODE} @@ -17,11 +17,11 @@ afterinstall: .s.o: ../${BTYPE}_LOADADDR ${CPP} ${CPPFLAGS} ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET} - @if nm ${.TARGET} | grep -q "00000200 t end"; \ + @if ${NM} ${.TARGET} | grep -q "00000200 t end"; \ then \ true; \ else \ - nm ${.TARGET} | grep " end"; \ + ${NM} ${.TARGET} | grep " end"; \ rm -f ${.TARGET}; \ false; \ fi