#!/bin/sh

. config/options

PKG_DIR=`find $PACKAGES -type d -name $1`

make -C $PKG_BUILD/objdir install

mkdir -p $SYSROOT_PREFIX/usr/include
cp -v $PKG_BUILD/include/libiberty.h $SYSROOT_PREFIX/usr/include

mkdir -p $TOOLCHAIN/bin
cp $PKG_DIR/scripts/libstrip $TOOLCHAIN/bin
