mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox: remove 'unpack' and 'need_unpack' script, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
af3baf788b
commit
0d7f06f0e2
@ -8,12 +8,17 @@ else
|
||||
BUSYBOX_CFG_FILE=$ROOT/$PKG_DIR/config/$1.conf
|
||||
fi
|
||||
|
||||
# optimize for size
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O?|-Os|"`
|
||||
|
||||
cd $BUILD/busybox*
|
||||
|
||||
# Build Busybox for system
|
||||
make distclean
|
||||
cp $BUSYBOX_CFG_FILE .config
|
||||
[ -n "$TIMEZONE" ] && sed -i -e 's/^# CONFIG_HWCLOCK .*$/CONFIG_HWCLOCK=yes/g' -e 's/^# CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS .*/CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=yes/g' $BUSYBOX/.config
|
||||
make oldconfig
|
||||
|
||||
ARCH=$TARGET_ARCH make install
|
||||
make ARCH=$TARGET_ARCH \
|
||||
HOSTCC=$HOST_CC \
|
||||
CROSS_COMPILE=$TARGET_PREFIX \
|
||||
install
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
STAMP=$STAMPS/$1/unpack
|
||||
|
||||
. $STAMP
|
||||
|
||||
test $PKG_DIR/config/$1.conf -nt $STAMP && rm -f $STAMP
|
||||
# test $STAMP_DEVTOOLS != $DEVTOOLS && rm -f $STAMP
|
||||
|
||||
exit 0
|
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
BUSYBOX=`ls -d $PKG_BUILD`
|
||||
|
||||
cat <<EOF >>$BUSYBOX/Makefile.custom
|
||||
HOSTCC = $HOST_CC
|
||||
CROSS_COMPILE = $TARGET_PREFIX
|
||||
CFLAGS += -std=gnu99 -Os
|
||||
EOF
|
Loading…
x
Reference in New Issue
Block a user