ia64/xen-unstable

view buildconfigs/select-linux-arch @ 17246:0f204e41cc93

stubdom: disable xen_blktap

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 18 13:13:31 2008 +0000 (2008-03-18)
parents 419a141ca16d
children
line source
1 #!/bin/sh
3 ME=$(basename $0)
5 if [ $# -lt 1 ] || [ $# -gt 2 ] ; then
6 echo "usage: $ME <linux-build-directory>" 1>&2
7 exit 1;
8 fi
10 LINUX_DIR=$1
12 case ${XEN_TARGET_ARCH} in
13 x86_32|x86_64)
14 if [ -d ${LINUX_DIR}/arch/x86 ] ; then
15 ARCH=x86
16 elif [ "${XEN_TARGET_ARCH}" = "x86_32" ] ; then
17 ARCH=i386
18 else
19 ARCH=x86_64
20 fi
21 ;;
22 *)
23 ARCH=${XEN_TARGET_ARCH}
24 ;;
25 esac
27 echo "$ME: ${ARCH}" 1>&2
28 echo ${ARCH}
30 exit 0