Module Name: src Committed By: matt Date: Wed Aug 21 07:22:27 UTC 2013
Modified Files: src/sys/arch/emips/stand: Makefile.booters Log Message: Use <bsd.klinks.mk> To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/stand/Makefile.booters Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/emips/stand/Makefile.booters diff -u src/sys/arch/emips/stand/Makefile.booters:1.1 src/sys/arch/emips/stand/Makefile.booters:1.2 --- src/sys/arch/emips/stand/Makefile.booters:1.1 Wed Jan 26 01:18:53 2011 +++ src/sys/arch/emips/stand/Makefile.booters Wed Aug 21 07:22:26 2013 @@ -1,19 +1,10 @@ -# $NetBSD: Makefile.booters,v 1.1 2011/01/26 01:18:53 pooka Exp $ +# $NetBSD: Makefile.booters,v 1.2 2013/08/21 07:22:26 matt Exp $ .include <bsd.sys.mk> # for HOST_SH # $S must correspond to the top of the 'sys' tree S= ${.CURDIR}/../../../.. -.if !make(obj) && !make(clean) && !make(cleandir) -.BEGIN: - @[ -h machine ] || ln -s $S/arch/${MACHINE}/include machine - @[ -h emips ] || ln -s $S/arch/${MACHINE}/include emips - @[ -h mips ] || ln -s $S/arch/mips/include mips -.NOPATH: machine emips mips -.endif -CLEANFILES+= machine emips mips - BINMODE?= 444 # XXX SHOULD NOT NEED TO DEFINE THESE! @@ -109,7 +100,8 @@ vers.c: ${.CURDIR}/version ${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \ -N ${.CURDIR}/version "emips" -${PROG}: machine mips emips ${OBJS} ${LIBS} +${PROG}: ${OBJS} ${LIBS} + ${_MKTARGET_LINK} ${LD} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \ ${LDBUG} -e start -o ${PROG}.elf ${OBJS} ${LIBS} @${SIZE} ${PROG}.elf @@ -121,6 +113,7 @@ ${PROG}: machine mips emips ${OBJS} ${LI dd if=${PROG}.bin of=${PROG} bs=512 conv=sync .include <bsd.prog.mk> +.include <bsd.klinks.mk> CLEANFILES+= ${PROG}.map