#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # advcomp # cramfs-utils # python # python-devs export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS=$CFLAGS" -fno-exceptions -fno-rtti" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig tar -zxf bitbake-1.8.12.tar.gz cd bitbake-1.8.12 python setup.py build sudo python setup.py install find /usr/local/lib/python2.5/site-packages/bb -not -type d > filelist find /usr/local/lib/python2.5/site-packages/bitbake-1.8.12 -not -type d >> filelist echo "/usr/local/bin/bbimage" >> filelist echo "/usr/local/bin/bitbake" >> filelist find /usr/local/share/bitbake/ -not -type d >> filelist tar -czf bitbake.tce -T filelist advdef -z4 bitbake.tcel md5sum bitbake.tcel > bitbake.tcel.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../bitbake.tcel cd .. mkfs.cramfs $TCZDIR bitbake.tczl md5sum bitbake.tczl > bitbake.tczl.md5.txt rm -rf $TCZDIR $ZISODIR rm -rf bitbake-1.8.12 mark filelist