Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/next68k/stand/boot Use <bsd.klinks.mk>
details: https://anonhg.NetBSD.org/src/rev/d34a06a564fc
branches: trunk
changeset: 789525:d34a06a564fc
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 21 06:56:14 2013 +0000
description:
Use <bsd.klinks.mk>
Add ${_MKTARGET_LINK}
diffstat:
sys/arch/next68k/stand/boot/Makefile | 19 ++++---------------
1 files changed, 4 insertions(+), 15 deletions(-)
diffs (45 lines):
diff -r 1cca002e17e6 -r d34a06a564fc sys/arch/next68k/stand/boot/Makefile
--- a/sys/arch/next68k/stand/boot/Makefile Wed Aug 21 06:53:10 2013 +0000
+++ b/sys/arch/next68k/stand/boot/Makefile Wed Aug 21 06:56:14 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2012/11/05 16:53:25 apb Exp $
+# $NetBSD: Makefile,v 1.27 2013/08/21 06:56:14 matt Exp $
NOMAN= # defined
@@ -44,7 +44,7 @@
.PATH: ${S}/lib/libsa
SRCS+= dev_net.c
-CLEANFILES+= srt0.o boot.elf boot.raw machine ${MACHINE_ARCH} limits.h
+CLEANFILES+= srt0.o boot.elf boot.raw limits.h
CLEANFILES+= vers.c build.c build # generated dynamically
BINDIR= /usr/mdec
@@ -65,6 +65,7 @@
}'
${PROG}: srt0.o ${OBJS} ${LIBS}
+ ${_MKTARGET_LINK}
${LD} -N -Ttext ${RELOC} -e start srt0.o ${OBJS} ${LIBS} -o $@.elf
${SIZE} $@.elf
${OBJCOPY} -O binary $@.elf $@.raw
@@ -89,17 +90,5 @@
# utilities
-.if !make(obj) && !make(clean) && !make(cleandir)
-.NOPATH: machine ${MACHINE_ARCH}
-.BEGIN: machine ${MACHINE_ARCH}
-
-machine:
- -rm -f machine
- ln -s ${S}/arch/${MACHINE}/include machine
-
-${MACHINE_ARCH}:
- -rm -f ${MACHINE_ARCH}
- ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
-.endif
-
.include <bsd.prog.mk>
+.include <bsd.klinks.mk>
Home |
Main Index |
Thread Index |
Old Index