ia64/xen-unstable

annotate netbsd-2.0-xen-sparse/nbmake-xen @ 2841:3500fed096b1

bitkeeper revision 1.1159.1.345 (4188c3c3m4peCqRhMg6W2JHnjHwkDw)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
author iap10@labyrinth.cl.cam.ac.uk
date Wed Nov 03 11:40:51 2004 +0000 (2004-11-03)
parents ab0042a6d724 076976533990
children b8428734f8c7 2e64fe4ea360 c23dd7ec1f54
rev   line source
cl349@2443 1 #! /bin/sh
cl349@2443 2 # Set proper variables to allow easy "make" building of a NetBSD subtree.
cl349@2443 3 # Generated from: $NetBSD: build.sh,v 1.126 2004/02/04 11:23:40 lukem Exp $
cl349@2443 4 #
cl349@2443 5
cl349@2443 6 : ${HOS:=$(uname -s | tr /A-Z/ /a-z/)}
kaf24@2840 7 : ${HARCH:=$(uname -i 2>/dev/null || echo i386)}
cl349@2443 8 : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
cl349@2443 9 : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
cl349@2512 10 : ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}
cl349@2443 11
cl349@2443 12 NETBSDSRCDIR="$TOPDIR"; export NETBSDSRCDIR
cl349@2443 13 DESTDIR="$TOPDIR/root"; export DESTDIR
cl349@2443 14 unset MAKEOBJDIRPREFIX
cl349@2443 15 MAKEOBJDIR='${.CURDIR:C,^'"$TOPDIR,$TOPDIR/obj,}"; export MAKEOBJDIR
cl349@2443 16 RELEASEDIR="$TOPDIR/release"; export RELEASEDIR
cl349@2443 17 MKUNPRIVED='yes'; export MKUNPRIVED
cl349@2443 18 MAKEVERBOSE='1'; export MAKEVERBOSE
cl349@2443 19 LC_ALL='C'; export LC_ALL
cl349@2443 20 TOOLDIR="$TOPDIR/../netbsd-${NETBSD_RELEASE}-tools/$HOS-$HARCH"; export TOOLDIR
cl349@2443 21 MACHINE='i386'; export MACHINE
cl349@2443 22 MACHINE_ARCH='i386'; export MACHINE_ARCH
cl349@2443 23 MAKEFLAGS="-de -m $TOPDIR/share/mk MKOBJDIRS=yes"; export MAKEFLAGS
cl349@2443 24 BUILDID="${NETBSD_RELEASE}"; export BUILDID
cl349@2443 25 USETOOLS=yes; export USETOOLS
cl349@2443 26
cl349@2443 27 exec "${TOOLDIR}/bin/nbmake" ${1+"$@"}