From 1883cb174619cfc90ca86da08598f470d3a11315 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 9 Jul 2010 01:25:36 +0200 Subject: fix make O=dir build Signed-off-by: Denys Vlasenko --- scripts/test_make_O | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/test_make_O (limited to 'scripts/test_make_O') diff --git a/scripts/test_make_O b/scripts/test_make_O new file mode 100755 index 000000000..a0ee6a868 --- /dev/null +++ b/scripts/test_make_O @@ -0,0 +1,11 @@ +#!/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 -- cgit v1.2.3