busybox-initramfs: build with -fwhole-program, build verbose

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-27 02:56:14 +01:00
parent 478b67684c
commit 73075eba7f

View File

@ -13,9 +13,7 @@ fi
# optimize for size
CFLAGS=`echo $CFLAGS | sed -e "s|-O?|-Os|"`
# Fails to compile using the gold linker.
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||"`
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
LDFLAGS="$LDFLAGS -fwhole-program"
cd $BUILD/busybox*
@ -27,4 +25,5 @@ cd $BUILD/busybox*
make ARCH=$TARGET_ARCH \
HOSTCC=$HOST_CC \
CROSS_COMPILE=$TARGET_PREFIX \
KBUILD_VERBOSE="1" \
install