#!/bin/sh

. config/options

cd $BUILD/$1*

do_installdev usr/bin toolchain
cp $ROOT/$PACKAGES/$1/scripts/libstrip $INSTALL/bin

# add a link named 'strip' in the toolchain, it overrides the host
# 'strip' with `install -s`
ln -s $TARGET_NAME-strip $INSTALL/bin/strip

do_installdev usr/lib toolchain

do_installdev usr/$TARGET_NAME toolchain
