Denys Vlasenko | 1883cb1 | 2010-07-09 01:25:36 +0200 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | b=`basename $PWD` | ||||
4 | test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; } | ||||
5 | |||||
6 | rm -rf ../testdir_make_O.$$ | ||||
7 | mkdir ../testdir_make_O.$$ | ||||
8 | odir=`cd ../testdir_make_O.$$ && pwd` | ||||
9 | test -d "$odir" || exit 1 | ||||
10 | |||||
11 | make O="$odir" $MAKEOPTS "$@" defconfig busybox 2>&1 | tee test_make_O.log |