[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [buildbot patch 3/6] fix out-of-tree build
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [buildbot patch 3/6] fix out-of-tree build |
Date: |
Fri, 1 Feb 2013 15:02:22 +0100 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
qemu-master.cfg | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qemu-master.cfg b/qemu-master.cfg
index 4c45f23..dc5a7a8 100644
--- a/qemu-master.cfg
+++ b/qemu-master.cfg
@@ -690,11 +690,13 @@ def create_build_factory(repourl, branch="HEAD",
timeout=2400, mode='copy', retry=(5 * 60, 3),
locks=repo_locks_from_url(repourl)))
workdir = f.workdir
+ configure = "./configure"
if outoftree:
f.addStep(ShellCommand(command="mkdir -p outoftree",
env={'LANG': 'C'}))
workdir = os.path.join(workdir, 'outoftree')
- f.addStep(Configure(command=["./configure"] + list(configure_args),
+ configure = "../configure"
+ f.addStep(Configure(command=[configure] + list(configure_args),
env={'LANG': 'C'}, workdir=workdir))
f.addStep(Compile(command=[make, "CFLAGS=-O2"],
env={'LANG': 'C'},
--
1.7.9.7