test_make_O 304 B

1234567891011
  1. #!/bin/sh
  2. b=`basename $PWD`
  3. test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; }
  4. rm -rf ../testdir_make_O.$$
  5. mkdir ../testdir_make_O.$$
  6. odir=`cd ../testdir_make_O.$$ && pwd`
  7. test -d "$odir" || exit 1
  8. make O="$odir" $MAKEOPTS "$@" defconfig busybox 2>&1 | tee test_make_O.log