direct-io.hg

changeset 2512:4553261ed7cb

bitkeeper revision 1.1159.79.12 (41516f7a9MigXms0I3CfpKQvDloo8Q)

Simplify use from outside the toplevel Makefile.
author cl349@freefall.cl.cam.ac.uk
date Wed Sep 22 12:26:34 2004 +0000 (2004-09-22)
parents ae5765bc62c2
children 8cd5855b0bab
files netbsd-2.0-xen-sparse/nbconfig-xen netbsd-2.0-xen-sparse/nbmake-xen
line diff
     1.1 --- a/netbsd-2.0-xen-sparse/nbconfig-xen	Tue Sep 21 17:39:18 2004 +0000
     1.2 +++ b/netbsd-2.0-xen-sparse/nbconfig-xen	Wed Sep 22 12:26:34 2004 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  : ${HARCH:=$(uname -i)}
     1.5  : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
     1.6  : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
     1.7 +: ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}
     1.8  
     1.9  TOOLDIR="$TOPDIR/../netbsd-${NETBSD_RELEASE}-tools/$HOS-$HARCH"; export TOOLDIR
    1.10  
     2.1 --- a/netbsd-2.0-xen-sparse/nbmake-xen	Tue Sep 21 17:39:18 2004 +0000
     2.2 +++ b/netbsd-2.0-xen-sparse/nbmake-xen	Wed Sep 22 12:26:34 2004 +0000
     2.3 @@ -7,6 +7,7 @@
     2.4  : ${HARCH:=$(uname -i)}
     2.5  : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
     2.6  : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
     2.7 +: ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}
     2.8  
     2.9  NETBSDSRCDIR="$TOPDIR"; export NETBSDSRCDIR
    2.10  DESTDIR="$TOPDIR/root"; export DESTDIR