SConstruct (3546:c4074658f1e1) SConstruct (3583:f2b9961c45bd)
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

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

315
316env = conf.Finish()
317
318# Define the universe of supported ISAs
319env['ALL_ISA_LIST'] = ['alpha', 'sparc', 'mips']
320
321# Define the universe of supported CPU models
322env['ALL_CPU_LIST'] = ['AtomicSimpleCPU', 'TimingSimpleCPU',
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

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

315
316env = conf.Finish()
317
318# Define the universe of supported ISAs
319env['ALL_ISA_LIST'] = ['alpha', 'sparc', 'mips']
320
321# Define the universe of supported CPU models
322env['ALL_CPU_LIST'] = ['AtomicSimpleCPU', 'TimingSimpleCPU',
323 'FullCPU', 'O3CPU',
324 'OzoneCPU']
323 'O3CPU', 'OzoneCPU']
325
324
325if os.path.isdir(os.path.join(SRCDIR, 'src/encumbered/cpu/full')):
326 env['ALL_CPU_LIST'] += ['FullCPU']
327
326# Sticky options get saved in the options file so they persist from
327# one invocation to the next (unless overridden, in which case the new
328# value becomes sticky).
329sticky_opts = Options(args=ARGUMENTS)
330sticky_opts.AddOptions(
331 EnumOption('TARGET_ISA', 'Target ISA', 'alpha', env['ALL_ISA_LIST']),
332 BoolOption('FULL_SYSTEM', 'Full-system support', False),
333 # There's a bug in scons 0.96.1 that causes ListOptions with list

--- 283 unchanged lines hidden ---
328# Sticky options get saved in the options file so they persist from
329# one invocation to the next (unless overridden, in which case the new
330# value becomes sticky).
331sticky_opts = Options(args=ARGUMENTS)
332sticky_opts.AddOptions(
333 EnumOption('TARGET_ISA', 'Target ISA', 'alpha', env['ALL_ISA_LIST']),
334 BoolOption('FULL_SYSTEM', 'Full-system support', False),
335 # There's a bug in scons 0.96.1 that causes ListOptions with list

--- 283 unchanged lines hidden ---