Deleted Added
sdiff udiff text old ( 4762:c94e103c83ad ) new ( 4773:6103346eeb28 )
full compact
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 137 unchanged lines hidden (view full) ---

146
147# Add a flag defining what THE_ISA should be for all compilation
148env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())])
149
150########################################################################
151#
152# Walk the tree and execute all SConscripts
153#
154scripts = []
155srcdir = env['SRCDIR']
156for root, dirs, files in os.walk(srcdir, topdown=True):
157 if root == srcdir:
158 # we don't want to recurse back into this SConscript
159 continue
160
161 if 'SConscript' in files:
162 # strip off the srcdir part since scons will try to find the
163 # script in the build directory
164 base = root[len(srcdir) + 1:]
165 SConscript(joinpath(base, 'SConscript'))
166
167for opt in env.ExportOptions:
168 env.ConfigFile(opt)
169
170########################################################################
171#
172# Prevent any SimObjects from being added after this point, they
173# should all have been added in the SConscripts above
174#

--- 231 unchanged lines hidden ---