archival/*: move "applet:" snippets into .c files
[platform/upstream/busybox.git] / scripts / test_make_O
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