busybox: remove 'unpack' and 'need_unpack' script, cleanup

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-12 00:09:29 +01:00
parent af3baf788b
commit 0d7f06f0e2
3 changed files with 7 additions and 27 deletions

View File

@ -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

View File

@ -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

View File

@ -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