Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvmeppc/stand Pull a fix from mvme68k:



details:   https://anonhg.NetBSD.org/src/rev/2479f7b6c8c0
branches:  trunk
changeset: 749932:2479f7b6c8c0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Dec 13 08:32:57 2009 +0000

description:
Pull a fix from mvme68k:
 Create machine and ${MACHINE_CPU} symlinks properly and
 remove unnecessary dependencies so that parallel build works.

diffstat:

 sys/arch/mvmeppc/stand/Makefile.booters |  20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diffs (38 lines):

diff -r 06c27d24459a -r 2479f7b6c8c0 sys/arch/mvmeppc/stand/Makefile.booters
--- a/sys/arch/mvmeppc/stand/Makefile.booters   Sun Dec 13 08:25:20 2009 +0000
+++ b/sys/arch/mvmeppc/stand/Makefile.booters   Sun Dec 13 08:32:57 2009 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index