mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
new package: add busybox-hosttools for tools that we need to building and only is included in busybox
This commit is contained in:
19
packages/sysutils/busybox-hosttools/build
Executable file
19
packages/sysutils/busybox-hosttools/build
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user