Module Name: src Committed By: matt Date: Wed Aug 21 07:13:51 UTC 2013
Modified Files: src/sys/arch/mipsco/stand: Makefile.booters Log Message: Use <bsd.klinks.mk> Add missing ${_MKTARGET_LINK} To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mipsco/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/mipsco/stand/Makefile.booters diff -u src/sys/arch/mipsco/stand/Makefile.booters:1.17 src/sys/arch/mipsco/stand/Makefile.booters:1.18 --- src/sys/arch/mipsco/stand/Makefile.booters:1.17 Sat Jan 22 19:19:19 2011 +++ src/sys/arch/mipsco/stand/Makefile.booters Wed Aug 21 07:13:51 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.booters,v 1.17 2011/01/22 19:19:19 joerg Exp $ +# $NetBSD: Makefile.booters,v 1.18 2013/08/21 07:13:51 matt Exp $ .include <bsd.sys.mk> # for HOST_SH @@ -17,21 +17,7 @@ LIBC= LIBCRTBEGIN= LIBCRTEND= -.PHONY: machine-links -beforedepend: machine-links - -machine-links: machine mipsco mips -machine mipsco: - -rm -f ${.TARGET} - ln -s ${MIPSCO}/include ${.TARGET} - -mips: - -rm -f ${.TARGET} - ln -s ${MIPS}/include ${.TARGET} - -CLEANFILES+= machine mipsco mips - -realall: machine-links ${PROG} +realall: ${PROG} AFLAGS+= -D_LOCORE -D_KERNEL -DASSEMBLER -mno-abicalls # -I${.CURDIR}/../.. done by Makefile.inc @@ -124,7 +110,8 @@ vers.c: ${.CURDIR}/version ${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \ -N ${.CURDIR}/version "mipsco" -${PROG}: machine-links ${LDSCRIPT} ${OBJS} ${LIBS} +${PROG}: ${LDSCRIPT} ${OBJS} ${LIBS} + ${_MKTARGET_LINK} ${LD} ${OFORMAT} -Map ${PROG}.map -N -x -Ttext ${LOAD_ADDRESS} \ -T ${LDSCRIPT} -e start -o ${PROG} ${OBJS} ${LIBS} @${SIZE} ${PROG} @@ -146,3 +133,4 @@ cleanlibdir: -rm -rf lib .include <bsd.prog.mk> +.include <bsd.klinks.mk>