mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
19 lines
351 B
Bash
Executable File
19 lines
351 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="" install
|
|
|
|
mkdir -p $ROOT/$TOOLCHAIN/bin
|
|
cp -R _install-hosttools/* $ROOT/$TOOLCHAIN
|
|
chmod 4755 $ROOT/$TOOLCHAIN/bin/busybox
|