Files
Arch-R/packages/sysutils/busybox-hosttools/build
Stephan Raue 478b67684c busybox-hosttools: build verbose
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-27 02:54:19 +01:00

24 lines
564 B
Bash
Executable File

#!/bin/sh
. config/options $1
$SCRIPTS/unpack busybox
setup_toolchain host
cd $BUILD/busybox*
make distclean
cp $ROOT/$PKG_DIR/config/$1.conf .config
make oldconfig
ARCH=$TARGET_ARCH make CROSS_COMPILE="" KBUILD_VERBOSE="1" install
mkdir -p $ROOT/$TOOLCHAIN/bin
cp -R _install-hosttools/bin/* $ROOT/$TOOLCHAIN/bin
chmod 4755 $ROOT/$TOOLCHAIN/bin/busybox
ln -sf busybox $ROOT/$TOOLCHAIN/bin/cryptpw
ln -sf busybox $ROOT/$TOOLCHAIN/bin/mkpasswd
mkdir -p $ROOT/$TOOLCHAIN/sbin
ln -sf ../bin/busybox $ROOT/$TOOLCHAIN/sbin/depmod