#!/bin/sh

. config/options $1

setup_toolchain host
CC=$LOCAL_CC

cd $PKG_BUILD
./configure --host=$HOST_NAME \
            --build=$HOST_NAME \
            --disable-nls

/bin/sh build.sh

mkdir -p $ROOT/$TOOLCHAIN/bin
  cp make $ROOT/$TOOLCHAIN/bin
