Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Use <bsd.klinks.mk> to create machine and ${MACHINE...
details: https://anonhg.NetBSD.org/src/rev/5d48cb35992e
branches: trunk
changeset: 750318:5d48cb35992e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Dec 24 16:39:39 2009 +0000
description:
Use <bsd.klinks.mk> to create machine and ${MACHINE_CPU} symlinks.
diffstat:
sys/arch/mvme68k/stand/Makefile.booters | 12 ++----------
sys/arch/mvmeppc/stand/Makefile.booters | 12 ++----------
2 files changed, 4 insertions(+), 20 deletions(-)
diffs (52 lines):
diff -r d4695ba3b3a1 -r 5d48cb35992e sys/arch/mvme68k/stand/Makefile.booters
--- a/sys/arch/mvme68k/stand/Makefile.booters Thu Dec 24 14:56:14 2009 +0000
+++ b/sys/arch/mvme68k/stand/Makefile.booters Thu Dec 24 16:39:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.19 2009/12/06 13:28:04 tsutsui Exp $
+# $NetBSD: Makefile.booters,v 1.20 2009/12/24 16:39:39 tsutsui Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
@@ -38,15 +38,7 @@
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvme68k"
.endif
-CLEANFILES+= machine m68k
-
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
- @rm -f machine && \
- ln -s $S/arch/${MACHINE}/include machine
- @rm -f ${MACHINE_CPU} && \
- ln -s $S/arch/${MACHINE_CPU}/include ${MACHINE_CPU}
-.endif
+.include <bsd.klinks.mk>
.if defined(LIB)
diff -r d4695ba3b3a1 -r 5d48cb35992e sys/arch/mvmeppc/stand/Makefile.booters
--- a/sys/arch/mvmeppc/stand/Makefile.booters Thu Dec 24 14:56:14 2009 +0000
+++ b/sys/arch/mvmeppc/stand/Makefile.booters Thu Dec 24 16:39:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.9 2009/12/13 08:32:57 tsutsui Exp $
+# $NetBSD: Makefile.booters,v 1.10 2009/12/24 16:41:01 tsutsui Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
@@ -35,15 +35,7 @@
${HOST_SH} ${S}/conf/newvers_stand.sh -DM ${.CURDIR}/version "mvmeppc"
.endif
-CLEANFILES+= machine powerpc
-
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN:
- @rm -f machine && \
- ln -s $S/arch/${MACHINE}/include machine
- @rm -f ${MACHINE_CPU} && \
- ln -s $S/arch/${MACHINE_CPU}/include ${MACHINE_CPU}
-.endif
+.include <bsd.klinks.mk>
.if defined(LIB)
Home |
Main Index |
Thread Index |
Old Index