ia64/xen-unstable

changeset 1183:c5f71f50a168

bitkeeper revision 1.798 (4055c7b4y-9JnLpUiv1ACLKPlRrtRQ)

mkbuildtree, Makefile:
Fix mkbuildtree for Xenolinux.
author kaf24@scramble.cl.cam.ac.uk
date Mon Mar 15 15:11:48 2004 +0000 (2004-03-15)
parents f4acf782671a
children bb70629cf346
files xenolinux-2.4.25-sparse/arch/xeno/Makefile xenolinux-2.4.25-sparse/mkbuildtree
line diff
     1.1 --- a/xenolinux-2.4.25-sparse/arch/xeno/Makefile	Mon Mar 15 15:00:49 2004 +0000
     1.2 +++ b/xenolinux-2.4.25-sparse/arch/xeno/Makefile	Mon Mar 15 15:11:48 2004 +0000
     1.3 @@ -115,5 +115,5 @@ archmrproper:
     1.4  
     1.5  archdep:
     1.6  	rm -f include/asm-xeno/hypervisor-ifs/arch
     1.7 -	( cd include/asm-xeno/hypervisor-ifs ; ln -sf arch-$(SUBARCH) arch)
     1.8 +	( cd include/asm-xeno/hypervisor-ifs ; rm -rf arch ; ln -sf arch-$(SUBARCH) arch)
     1.9  	@$(MAKEBOOT) dep
     2.1 --- a/xenolinux-2.4.25-sparse/mkbuildtree	Mon Mar 15 15:00:49 2004 +0000
     2.2 +++ b/xenolinux-2.4.25-sparse/mkbuildtree	Mon Mar 15 15:11:48 2004 +0000
     2.3 @@ -66,7 +66,7 @@ relative_lndir ()
     2.4      (
     2.5      cd $i
     2.6      pref=`echo $i | sed -e 's#/[^/]*#../#g' -e 's#^\.##'`
     2.7 -    for j in `find . -type f -maxdepth 1`; do
     2.8 +    for j in `find . -type f -o -type l -maxdepth 1`; do
     2.9        ln -sf ${pref}${REAL_DIR}/$i/$j ${SYMLINK_DIR}/$i/$j
    2.10      done
    2.11      )