ia64/xen-unstable

view netbsd-2.0-xen-sparse/nbmake-xen @ 2446:309c1fb27f87

bitkeeper revision 1.1159.1.127 (413cb655B-pXolV76jppJJyH2EFWkw)

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