Module Name:    src
Committed By:   tsutsui
Date:           Mon Apr 11 15:20:30 UTC 2011

Modified Files:
        src/sys/arch/x68k/stand: Makefile.booters

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/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/x68k/stand/Makefile.booters
diff -u src/sys/arch/x68k/stand/Makefile.booters:1.5 src/sys/arch/x68k/stand/Makefile.booters:1.6
--- src/sys/arch/x68k/stand/Makefile.booters:1.5	Mon Jan 12 07:56:31 2009
+++ src/sys/arch/x68k/stand/Makefile.booters	Mon Apr 11 15:20:30 2011
@@ -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=

Reply via email to