From: shand@ubuntu.eng.hq.xensource.com Date: Mon, 29 Aug 2005 05:50:04 +0000 (-0800) Subject: Minor (partial) build fix for 2.4. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16814^2~85^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cabdee2e7cd28950d66467cbc7c7f6377f9f11f9;p=xen.git Minor (partial) build fix for 2.4. Signed-off-by: Steven Hand --- diff --git a/linux-2.4-xen-sparse/mkbuildtree b/linux-2.4-xen-sparse/mkbuildtree index 40381c8895..45e8b0362d 100755 --- a/linux-2.4-xen-sparse/mkbuildtree +++ b/linux-2.4-xen-sparse/mkbuildtree @@ -102,9 +102,9 @@ for i in `find . -type l`; do rm -f $i; done relative_lndir ${RS} rm -f mkbuildtree -set ${RS}/../linux-2.6-xen-sparse -[ "$1" == "${RS}/../linux-2.6-xen-sparse" ] && { echo "no Linux 2.6 sparse tree at ${RS}/../linux-2.6-xen-sparse"; exit 1; } -LINUX_26="$1" +LINUX_26=${RS}/../linux-2.6-xen-sparse +[ -d $LINUX_26 ] || { echo "no Linux 2.6 sparse tree at ${RS}/../linux-2.6-xen-sparse"; exit 1; } + # Create links to the shared definitions of the Xen interfaces. rm -rf ${AD}/include/asm-xen/xen-public