Introduce a configure() method into client/common_lib/util.py which does some extra env var look up to honor cross compiling.
This change was tested under our build environment.
Risk: Very low and should be transparent to existing autotest users. Unless you are working on cross compiling stuff.
From: ericli@google.com
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4387 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/netperf2/netperf2.py b/client/tests/netperf2/netperf2.py
index f8857c2..efc007a 100644
--- a/client/tests/netperf2/netperf2.py
+++ b/client/tests/netperf2/netperf2.py
@@ -21,7 +21,7 @@
# CPU_SET_S defined on /usr/include/sched.h, backported from
# upstream svn trunk
utils.system('patch -p0 < ../fix_netperf_build.patch')
- utils.system('./configure')
+ utils.configure()
utils.system('make')
utils.system('sync')