Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand Use bsd.klinks.mk to create machine and ...



details:   https://anonhg.NetBSD.org/src/rev/6a24d8f0b017
branches:  trunk
changeset: 764108:6a24d8f0b017
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Apr 11 15:20:30 2011 +0000

description:
Use bsd.klinks.mk to create machine and ${MACHINE_ARCH} symlinks.

diffstat:

 sys/arch/x68k/stand/Makefile.booters |  18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diffs (32 lines):

diff -r f198ba020c69 -r 6a24d8f0b017 sys/arch/x68k/stand/Makefile.booters
--- a/sys/arch/x68k/stand/Makefile.booters      Mon Apr 11 15:17:33 2011 +0000
+++ b/sys/arch/x68k/stand/Makefile.booters      Mon Apr 11 15:20:30 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.booters,v 1.5 2009/01/12 07:56:31 tsutsui Exp $
+#      $NetBSD: Makefile.booters,v 1.6 2011/04/11 15:20:30 tsutsui Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -7,21 +7,7 @@
 CFLAGS+= -Wno-pointer-sign
 CFLAGS+= -Werror
 
-.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
-
-m68k::
-       -rm -f ${MACHINE_ARCH} && \
-       ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
-.endif
-
-CLEANFILES+=   machine ${MACHINE_ARCH}
-
+.include <bsd.klinks.mk>
 
 # XXX SHOULD NOT NEED TO DEFINE THESE!
 LIBCRT0=



Home | Main Index | Thread Index | Old Index