yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [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 |