mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
27 lines
518 B
Bash
Executable File
27 lines
518 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
|
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
|
|
[ -f $PROJECT_DIR/$1/$1.conf ] && \
|
|
BUSYBOX_CFG_FILE=$PROJECT_DIR/$1/$1.conf || \
|
|
BUSYBOX_CFG_FILE=$PKG_DIR/config/$1.conf
|
|
|
|
cd $BUILD/$1*
|
|
# Build Busybox for initramfs
|
|
make distclean
|
|
cp $ROOT/$PKG_DIR/config/$1-initramfs.conf .config
|
|
make oldconfig
|
|
|
|
ARCH=$TARGET_ARCH make install
|
|
|
|
# Build Busybox for system
|
|
make distclean
|
|
cp $BUSYBOX_CFG_FILE .config
|
|
make oldconfig
|
|
|
|
ARCH=$TARGET_ARCH make install
|