Debian Wheezy Build Machine
Start with the instructions here: How to build OpenXT#BuildingOpenEmbedded
Below are additional packages required to build OpenXT Wheezy.
Packages
$ guilt iasl quilt bin86 bcc libncurses5-dev libsdl1.2-dev liburi-perl genisoimage policycoreutils
The Wheezy ghc won't work with our Haskell bits so we need to install the 6.12 binaries from haskell.org. These require a few packages unavailable in Wheezy so we need to manually download and install them from the Squeeze repos. You can get the three needed packages here:
http://archive.debian.org/debian/pool/main/g/gmp/libgmpxx4ldbl_4.3.2+dfsg-1_i386.deb
http://archive.debian.org/debian/pool/main/g/gmp/libgmp3c2_4.3.2+dfsg-1_i386.deb
http://archive.debian.org/debian/pool/main/g/gmp/libgmp3-dev_4.3.2+dfsg-1_i386.deb
Install them with dpkg:
$ sudo dpkg -i libgmpxx4ldbl_4.3.2+dfsg-1_i386.deb libgmp3c2_4.3.2+dfsg-1_i386.deb libgmp3-dev_4.3.2+dfsg-1_i386.deb
Haskell compiler
Then download and install the i386 GHC 6.12.3 binary distribution from haskell.org:
$ cd /tmp
$ wget http://www.haskell.org/ghc/dist/6.12.3/ghc-6.12.3-i386-unknown-linux-n.tar.bz2
$ tar jxf ghc-6.12.3-i386-unknown-linux-n.tar.bz2
$ cd ghc-6.12.3
$ ./configure --prefix=/usr
$ sudo make install