Source-Changes-HG archive

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

[src/trunk]: src use relative links: using $S fails if $S is relative to ano...



details:   https://anonhg.NetBSD.org/src/rev/16ae110722e0
branches:  trunk
changeset: 566624:16ae110722e0
user:      cl <cl%NetBSD.org@localhost>
date:      Fri May 14 14:07:46 2004 +0000

description:
use relative links:  using $S fails if $S is relative to another dir
than the one where it's used

diffstat:

 share/mk/bsd.kmod.mk           |  4 ++--
 sys/arch/xen/conf/Makefile.xen |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7620b652f437 -r 16ae110722e0 share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk      Fri May 14 13:23:12 2004 +0000
+++ b/share/mk/bsd.kmod.mk      Fri May 14 14:07:46 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmod.mk,v 1.75 2004/05/12 16:56:43 cl Exp $
+#      $NetBSD: bsd.kmod.mk,v 1.76 2004/05/14 14:07:46 cl Exp $
 
 .include <bsd.init.mk>
 
@@ -116,7 +116,7 @@
        @rm -f xen && \
            ln -s $S/arch/xen/include xen
        @rm -rf xen-ma && mkdir xen-ma && \
-           ln -s $S/arch/${XEN_BUILD:U${MACHINE_ARCH}}/include xen-ma/machine
+           ln -s ../${XEN_BUILD:U${MACHINE_ARCH}} xen-ma/machine
 .endif
 .endif
 
diff -r 7620b652f437 -r 16ae110722e0 sys/arch/xen/conf/Makefile.xen
--- a/sys/arch/xen/conf/Makefile.xen    Fri May 14 13:23:12 2004 +0000
+++ b/sys/arch/xen/conf/Makefile.xen    Fri May 14 14:07:46 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.xen,v 1.2 2004/05/12 16:56:43 cl Exp $
+#      $NetBSD: Makefile.xen,v 1.3 2004/05/14 14:07:46 cl Exp $
 #      NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -67,7 +67,7 @@
 .endfor
        rm -rf xen-ma
        mkdir xen-ma
-       ln -s $S/arch/${XEN_BUILD}/include xen-ma/machine
+       ln -s ../${XEN_BUILD} xen-ma/machine
 .endif
 
 ##



Home | Main Index | Thread Index | Old Index