If obj doesn't exist, then the log_args call fails and the build fails.
Fix is attached.

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
diff --git a/SConstruct b/SConstruct
index a5b0034..72047e2 100644
--- a/SConstruct
+++ b/SConstruct
@@ -129,6 +129,11 @@ builddir=Dir(ARGUMENTS.get('builddir', '#obj/' + 
host)).abspath
 
 SConsignFile(builddir + '/.sconsign')
 
+try:
+       Execute(Mkdir(builddir))
+except:
+       pass
+
 log_args(builddir + '/.scons_build_args')
 
 # XXX TODO: Make initial CPPPATH/LIBPATH derive from
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to