Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/stand/ofwboot Make this work with R/O source ...



details:   https://anonhg.NetBSD.org/src/rev/fe8f7a594e61
branches:  trunk
changeset: 553994:fe8f7a594e61
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Oct 24 04:49:31 2003 +0000

description:
Make this work with R/O source trees.

diffstat:

 sys/arch/ofppc/stand/ofwboot/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 167c3cfffdc5 -r fe8f7a594e61 sys/arch/ofppc/stand/ofwboot/Makefile
--- a/sys/arch/ofppc/stand/ofwboot/Makefile     Fri Oct 24 04:48:59 2003 +0000
+++ b/sys/arch/ofppc/stand/ofwboot/Makefile     Fri Oct 24 04:49:31 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2003/10/08 01:38:49 simonb Exp $
+#      $NetBSD: Makefile,v 1.16 2003/10/24 04:49:31 matt Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -39,9 +39,11 @@
 CPPFLAGS+=     -DFIRMWORKSBUGS
 CPPFLAGS+=     -DCOMPAT_386BSD_MBRPART
 
+.if !make(obj) && !make(clean) && !make(cleandir)
 .BEGIN:
        @[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
        @[ -h powerpc ] || ln -s ${S}/arch/powerpc/include powerpc
+.endif
 .NOPATH: machine powerpc
 CLEANFILES+= machine powerpc
 



Home | Main Index | Thread Index | Old Index