Files
Arch-R/packages/sysutils/busybox-hosttools/build
Stephan Raue 7595e84d51 busybox-hosttools
- change mode from busybox to 4755
2009-11-16 07:52:30 +01:00

21 lines
391 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
$SCRIPTS/unpack busybox
setup_toolchain host
PKG_DIR=`find $PACKAGES -type d -name $1`
cd $BUILD/busybox*
make distclean
cp $ROOT/$PKG_DIR/config/$1.conf .config
make oldconfig
ARCH=$TARGET_ARCH make CROSS_COMPILE="" install
cp -PR _install-hosttools/bin/* $ROOT/$TOOLCHAIN/bin
chmod 4755 $ROOT/$TOOLCHAIN/bin/busybox