ia64/xen-unstable

changeset 1217:e6d3daf193d9

bitkeeper revision 1.825.1.1 (4062ab76AcoeABDDPZ4M7H85EK00kA)

make xeno-clone script automatically figure out whether to build xenolinux
with ARCH=XENO or the new ARCH=xen
author iap10@tetris.cl.cam.ac.uk
date Thu Mar 25 09:50:46 2004 +0000 (2004-03-25)
parents 33b04523c4ab
children fc8ea15b6dcf
files tools/misc/xen-clone
line diff
     1.1 --- a/tools/misc/xen-clone	Tue Mar 23 11:55:59 2004 +0000
     1.2 +++ b/tools/misc/xen-clone	Thu Mar 25 09:50:46 2004 +0000
     1.3 @@ -86,11 +86,15 @@ cd ../..
     1.4  mv linux-${LINUX_VER} xenolinux-${LINUX_VER}
     1.5  cd xenolinux-${LINUX_VER}
     1.6  
     1.7 -ARCH=xen make oldconfig
     1.8 -ARCH=xen make dep
     1.9 -ARCH=xen make bzImage
    1.10 -ARCH=xen make dist || ARCH=xen make install
    1.11 -ARCH=xen make modules
    1.12 -ARCH=xen make INSTALL_MOD_PATH=${TOP}/install modules_install
    1.13 +# cope with the change from ARCH=xeno to ARCH=xen
    1.14 +cd arch; XEN=`/bin/ls -d xen*`; cd ..
    1.15 +
    1.16 +# built it all
    1.17 +ARCH=$XEN make oldconfig
    1.18 +ARCH=$XEN make dep
    1.19 +ARCH=$XEN make bzImage
    1.20 +ARCH=$XEN make dist || ARCH=xen make install
    1.21 +ARCH=$XEN make modules
    1.22 +ARCH=$XEN make INSTALL_MOD_PATH=${TOP}/install modules_install
    1.23  cd ..
    1.24