mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
12 lines
304 B
Plaintext
12 lines
304 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
b=`basename $PWD`
|
||
|
test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; }
|
||
|
|
||
|
rm -rf ../testdir_make_O.$$
|
||
|
mkdir ../testdir_make_O.$$
|
||
|
odir=`cd ../testdir_make_O.$$ && pwd`
|
||
|
test -d "$odir" || exit 1
|
||
|
|
||
|
make O="$odir" $MAKEOPTS "$@" defconfig busybox 2>&1 | tee test_make_O.log
|