# ensure you have the following files in this directory # xen-2.0.1-src.tgz # linux-2.6.7.tar.gz # linux-2.6.7-ia64-040619.diff.gz # xenia64-2.0.1-041220.tar.gz # TODO: add tests for existence of files here and bomb out if not there # unpack xen-2.0.1 (no ia64 files or directories present) tar xzf xen-2.0.1-src.tgz # unpack linux-2.6.7 and apply ia64 patch # is there a way to gunzip as part of patch? gunzip linux-2.6.7-ia64-040619.diff.gz cd xen-2.0/xen tar xzf ../../linux-2.6.7.tar.gz cd linux-2.6.7 patch -p1 <../../../linux-2.6.7-ia64-040619.diff cd .. # back in xen-2.0/xen # unpack xen/ia64 files and patches tar xzf ../../xenia64-2.0.1-041220.tar.gz tar xzf xenia64-from-linux-2.6.7.tar.gz tar xzf xenia64-from-xen-2.0.1.tar.gz tar xzf xenia64-newfiles-041220.tar.gz # do all the patching source arch/ia64/tools/mkbuildtree # ready to rock, don't forget to use "make TARGET_ARCH=ia64"