Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/stand Create machine and ${MACHINE_CPU} sym...



details:   https://anonhg.NetBSD.org/src/rev/3ca73fcdc9b9
branches:  trunk
changeset: 749715:3ca73fcdc9b9
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Dec 06 13:28:04 2009 +0000

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

diffstat:

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

diffs (38 lines):

diff -r c902397c161a -r 3ca73fcdc9b9 sys/arch/mvme68k/stand/Makefile.booters
--- a/sys/arch/mvme68k/stand/Makefile.booters   Sun Dec 06 13:21:37 2009 +0000
+++ b/sys/arch/mvme68k/stand/Makefile.booters   Sun Dec 06 13:28:04 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.booters,v 1.18 2009/04/11 10:56:12 scw Exp $
+#      $NetBSD: Makefile.booters,v 1.19 2009/12/06 13:28:04 tsutsui Exp $
 
 S?=            ${.CURDIR}/../../../..
 MDEC_DIR?=     /usr/mdec
@@ -41,22 +41,16 @@
 CLEANFILES+= machine m68k
 
 .if !make(obj) && !make(clean) && !make(cleandir)
-.NOPATH: machine m68k
-.BEGIN: machine m68k
-
-machine :
-       -rm -f ${.TARGET}
-       ln -s $S/arch/mvme68k/include machine
-
-m68k :
-       -rm -f ${.TARGET}
-       ln -s $S/arch/m68k/include m68k
+.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 m68k ${OBJS}
-beforedepend:  machine m68k
+lib${LIB}.a:: ${OBJS}
 
 .else
 



Home | Main Index | Thread Index | Old Index