#!/bin/bash

cd $BLDDIR
rm -rf $BLDDIR/mig
cp -a $SRCDIR/mig .
cd $BLDDIR/mig
autoreconf -vif

./configure \
  --target=$CHFS_TARGET \
  --prefix=/cross-tools
make all install

cd $ROOT