A fix for SConscript so it will work with newer versions of scons
authorGabe Black <gblack@eecs.umich.edu>
Thu, 9 Feb 2006 18:06:47 +0000 (13:06 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 9 Feb 2006 18:06:47 +0000 (13:06 -0500)
SConscript:
    Changed the ISAPath function to take 5 arguments to work with scons 0.97.

--HG--
extra : convert_revision : 34fbe131aec9349631b5026d839563380623f3fd

SConscript

index 56a4e36101806093d4dc6ded710f298bbf4ba52b..589b2a17c105e34e5615441a6015ad5f040dea4d 100644 (file)
@@ -400,7 +400,7 @@ def ISAScan():
                                 "SRCDIR",
                                 '^[ \t]*##[ \t]*include[ \t]*"([^>"]+)"')
 
-def ISAPath(env, dir, a=None):
+def ISAPath(env, dir, target=None, source=None, a=None):
    return (Dir(env['SRCDIR']), Dir('.'))   
 
 iscan = Scanner(function = ISAScan().scan, skeys = [".isa", ".ISA"],