#!/bin/dash SOURCE_DIR=src BUSYBOX_VERSION=1.29.2 OUT_DIRECTORY=out #prepare _PWD=`pwd` echo "Unarchive busbox" cd $SOURCE_DIR tar -xvf busybox-$BUSYBOX_VERSION.tar.bz2 cd busybox-$BUSYBOX_VERSION cp ../../config/busybox.config ./.config make -j4 cp ./busybox ../../$OUT_DIRECTORY #save result echo "Copy result to out"