ia64/xen-unstable

annotate netbsd-2.0-xen-sparse/nbconfig-xen @ 3156:d0daec09aa8b

bitkeeper revision 1.1159.187.19 (41a65822miLPeexZ6MOkyk4Usl-Rpw)

Fix multicall preemption.
author kaf24@scramble.cl.cam.ac.uk
date Thu Nov 25 22:09:38 2004 +0000 (2004-11-25)
parents 3500fed096b1
children b8428734f8c7 2e64fe4ea360 c23dd7ec1f54
rev   line source
cl349@2443 1 #! /bin/sh
cl349@2443 2 #
cl349@2443 3
cl349@2443 4 : ${HOS:=$(uname -s | tr /A-Z/ /a-z/)}
kaf24@2840 5 : ${HARCH:=$(uname -i 2>/dev/null || echo i386)}
cl349@2443 6 : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
cl349@2443 7 : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
cl349@2512 8 : ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}
cl349@2443 9
cl349@2443 10 TOOLDIR="$TOPDIR/../netbsd-${NETBSD_RELEASE}-tools/$HOS-$HARCH"; export TOOLDIR
cl349@2443 11
cl349@2443 12 CONF="$1"
cl349@2443 13 case "$1" in
cl349@2443 14 /*)
cl349@2443 15 CONF="$1"
cl349@2443 16 ;;
cl349@2443 17 *)
cl349@2443 18 CONF="$TOPDIR"/sys/arch/xen/conf/"$1"
cl349@2443 19 ;;
cl349@2443 20 esac
cl349@2443 21 exec "${TOOLDIR}/bin/nbconfig" -b $(pwd) -s "$TOPDIR"/sys "$CONF"