Module Name: src
Committed By: tsutsui
Date: Sun Dec 13 08:32:57 UTC 2009
Modified Files:
src/sys/arch/mvmeppc/stand: Makefile.booters
Log Message:
Pull a fix from mvme68k:
Create machine and ${MACHINE_CPU} symlinks properly and
remove unnecessary dependencies so that parallel build works.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mvmeppc/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/mvmeppc/stand/Makefile.booters
diff -u src/sys/arch/mvmeppc/stand/Makefile.booters:1.8 src/sys/arch/mvmeppc/stand/Makefile.booters:1.9
--- src/sys/arch/mvmeppc/stand/Makefile.booters:1.8 Fri Apr 3 10:38:13 2009
+++ src/sys/arch/mvmeppc/stand/Makefile.booters Sun Dec 13 08:32:57 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.8 2009/04/03 10:38:13 tsutsui Exp $
+# $NetBSD: Makefile.booters,v 1.9 2009/12/13 08:32:57 tsutsui Exp $
S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec
@@ -38,22 +38,16 @@
CLEANFILES+= machine powerpc
.if !make(obj) && !make(clean) && !make(cleandir)
-.NOPATH: machine powerpc
-.BEGIN: machine powerpc
-
-machine :
- -rm -f ${.TARGET}
- ln -s $S/arch/mvmeppc/include machine
-
-powerpc :
- -rm -f ${.TARGET}
- ln -s $S/arch/powerpc/include powerpc
+.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
.if defined(LIB)
-lib${LIB}.a:: machine powerpc ${OBJS}
-beforedepend: machine powerpc
+lib${LIB}.a:: ${OBJS}
.else