SConstruct (5343:d90312be2aa8) SConstruct (5344:d4faff20645a)
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

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

280# Update env with values from ARGUMENTS & file global_sticky_opts_file
281global_sticky_opts.Update(env)
282
283# Save sticky option settings back to current options file
284global_sticky_opts.Save(global_sticky_opts_file, env)
285
286# Parse EXTRAS option to build list of all directories where we're
287# look for sources etc. This list is exported as base_dir_list.
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

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

280# Update env with values from ARGUMENTS & file global_sticky_opts_file
281global_sticky_opts.Update(env)
282
283# Save sticky option settings back to current options file
284global_sticky_opts.Save(global_sticky_opts_file, env)
285
286# Parse EXTRAS option to build list of all directories where we're
287# look for sources etc. This list is exported as base_dir_list.
288base_dir_list = [ROOT]
288base_dir_list = [joinpath(ROOT, 'src')]
289if env['EXTRAS']:
290 base_dir_list += env['EXTRAS'].split(':')
291
292Export('base_dir_list')
293
294# M5_PLY is used by isa_parser.py to find the PLY package.
295env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) })
296env['GCC'] = False

--- 511 unchanged lines hidden ---
289if env['EXTRAS']:
290 base_dir_list += env['EXTRAS'].split(':')
291
292Export('base_dir_list')
293
294# M5_PLY is used by isa_parser.py to find the PLY package.
295env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) })
296env['GCC'] = False

--- 511 unchanged lines hidden ---