busybox: clean up build instructions
[qi-bootmenu-system.git] / sources / sections / busybox.sh
blobd390df789637ce51d033009f76ceb95e194306de
1 setupfor busybox
3 make allnoconfig KCONFIG_ALLCONFIG="$CONFIG_DIR/miniconfig-busybox" &&
4 cp .config "$CONFIG_DIR/config-busybox" &&
5 LDFLAGS="$CROSS_LDFLAGS $LDFLAGS" make -j $CPUS CROSS_COMPILE="$CROSS" $VERBOSITY &&
6 make busybox.links &&
7 cp busybox "$ROOT_DIR/usr/bin"
9 [ $? -ne 0 ] && dienow
11 for i in $(sed 's@.*/@@' busybox.links)
13 ln -s busybox "$ROOT_DIR/usr/bin/$i" 2>/dev/null
14 done
16 cleanup busybox