From b429b3ce93acb7cc9e04541c3804135bbc0d85ce Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 11 Nov 2009 19:08:02 +0100 Subject: [PATCH] busybox: clean up build instructions Signed-off-by: Marc Andre Tanner --- sources/sections/busybox.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/sources/sections/busybox.sh b/sources/sections/busybox.sh index d390df7..2eb1301 100644 --- a/sources/sections/busybox.sh +++ b/sources/sections/busybox.sh @@ -1,16 +1,12 @@ setupfor busybox make allnoconfig KCONFIG_ALLCONFIG="$CONFIG_DIR/miniconfig-busybox" && + cp .config "$CONFIG_DIR/config-busybox" && -LDFLAGS="$CROSS_LDFLAGS $LDFLAGS" make -j $CPUS CROSS_COMPILE="$CROSS" $VERBOSITY && -make busybox.links && -cp busybox "$ROOT_DIR/usr/bin" -[ $? -ne 0 ] && dienow +LDFLAGS="$CROSS_LDFLAGS $LDFLAGS" make -j $CPUS CROSS_COMPILE="$CROSS" CONFIG_PREFIX="$ROOT_DIR" \ + $VERBOSITY install -for i in $(sed 's@.*/@@' busybox.links) -do - ln -s busybox "$ROOT_DIR/usr/bin/$i" 2>/dev/null -done +[ $? -ne 0 ] && dienow cleanup busybox -- 2.11.4.GIT