SConscript revision 2560
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# Redistribution and use in source and binary forms, with or without 7955SN/A# modification, are permitted provided that the following conditions are 8955SN/A# met: redistributions of source code must retain the above copyright 9955SN/A# notice, this list of conditions and the following disclaimer; 10955SN/A# redistributions in binary form must reproduce the above copyright 11955SN/A# notice, this list of conditions and the following disclaimer in the 12955SN/A# documentation and/or other materials provided with the distribution; 13955SN/A# neither the name of the copyright holders nor the names of its 14955SN/A# contributors may be used to endorse or promote products derived from 15955SN/A# this software without specific prior written permission. 16955SN/A# 17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 282665Ssaidi@eecs.umich.edu 294762Snate@binkert.orgimport os 30955SN/Aimport sys 315522Snate@binkert.orgfrom os.path import isdir 326143Snate@binkert.org 334762Snate@binkert.org# This file defines how to build a particular configuration of M5 345522Snate@binkert.org# based on variable settings in the 'env' build environment. 35955SN/A 365522Snate@binkert.org# Import build environment variable from SConstruct. 37955SN/AImport('env') 385522Snate@binkert.org 394202Sbinkertn@umich.edu################################################### 405742Snate@binkert.org# 41955SN/A# Define needed sources. 424381Sbinkertn@umich.edu# 434381Sbinkertn@umich.edu################################################### 44955SN/A 45955SN/A# Base sources used by all configurations. 46955SN/A 474202Sbinkertn@umich.edubase_sources = Split(''' 48955SN/A base/circlebuf.cc 494382Sbinkertn@umich.edu base/copyright.cc 504382Sbinkertn@umich.edu base/cprintf.cc 514382Sbinkertn@umich.edu base/embedfile.cc 526654Snate@binkert.org base/fast_alloc.cc 535517Snate@binkert.org base/fifo_buffer.cc 546143Snate@binkert.org base/hostinfo.cc 556143Snate@binkert.org base/hybrid_pred.cc 566143Snate@binkert.org base/inifile.cc 576143Snate@binkert.org base/intmath.cc 586143Snate@binkert.org base/match.cc 596143Snate@binkert.org base/misc.cc 606143Snate@binkert.org base/output.cc 616143Snate@binkert.org base/pollevent.cc 626143Snate@binkert.org base/range.cc 636143Snate@binkert.org base/random.cc 646143Snate@binkert.org base/sat_counter.cc 656143Snate@binkert.org base/socket.cc 666143Snate@binkert.org base/statistics.cc 676143Snate@binkert.org base/str.cc 686143Snate@binkert.org base/time.cc 694762Snate@binkert.org base/trace.cc 706143Snate@binkert.org base/traceflags.cc 716143Snate@binkert.org base/userinfo.cc 726143Snate@binkert.org base/compression/lzss_compression.cc 736143Snate@binkert.org base/loader/aout_object.cc 746143Snate@binkert.org base/loader/ecoff_object.cc 756143Snate@binkert.org base/loader/elf_object.cc 766143Snate@binkert.org base/loader/object_file.cc 776143Snate@binkert.org base/loader/symtab.cc 786143Snate@binkert.org base/stats/events.cc 796143Snate@binkert.org base/stats/statdb.cc 806143Snate@binkert.org base/stats/visit.cc 816143Snate@binkert.org base/stats/text.cc 826143Snate@binkert.org 836143Snate@binkert.org cpu/base.cc 846143Snate@binkert.org cpu/cpu_exec_context.cc 856143Snate@binkert.org cpu/exetrace.cc 866143Snate@binkert.org cpu/op_class.cc 876143Snate@binkert.org cpu/pc_event.cc 886143Snate@binkert.org cpu/static_inst.cc 896143Snate@binkert.org cpu/sampler/sampler.cc 906143Snate@binkert.org 917065Snate@binkert.org mem/request.cc 926143Snate@binkert.org mem/connector.cc 936143Snate@binkert.org mem/mem_object.cc 946143Snate@binkert.org mem/physical.cc 956143Snate@binkert.org mem/port.cc 966143Snate@binkert.org mem/bus.cc 976143Snate@binkert.org 986143Snate@binkert.org python/pyconfig.cc 996143Snate@binkert.org python/embedded_py.cc 1006143Snate@binkert.org 1016143Snate@binkert.org sim/builder.cc 1026143Snate@binkert.org sim/configfile.cc 1036143Snate@binkert.org sim/debug.cc 1046143Snate@binkert.org sim/eventq.cc 1056143Snate@binkert.org sim/faults.cc 1066143Snate@binkert.org sim/main.cc 1076143Snate@binkert.org sim/param.cc 1086143Snate@binkert.org sim/profile.cc 1096143Snate@binkert.org sim/root.cc 1106143Snate@binkert.org sim/serialize.cc 1116143Snate@binkert.org sim/sim_events.cc 1126143Snate@binkert.org sim/sim_exit.cc 1135522Snate@binkert.org sim/sim_object.cc 1146143Snate@binkert.org sim/startup.cc 1156143Snate@binkert.org sim/stat_context.cc 1166143Snate@binkert.org sim/stat_control.cc 1176143Snate@binkert.org sim/system.cc 1186143Snate@binkert.org sim/trace_context.cc 1196143Snate@binkert.org ''') 1206143Snate@binkert.org 1216143Snate@binkert.org# Old FullCPU sources 1226143Snate@binkert.orgfull_cpu_sources = Split(''' 1236143Snate@binkert.org encumbered/cpu/full/bpred.cc 1245522Snate@binkert.org encumbered/cpu/full/commit.cc 1255522Snate@binkert.org encumbered/cpu/full/cpu.cc 1265522Snate@binkert.org encumbered/cpu/full/create_vector.cc 1275522Snate@binkert.org encumbered/cpu/full/cv_spec_state.cc 1285604Snate@binkert.org encumbered/cpu/full/dd_queue.cc 1295604Snate@binkert.org encumbered/cpu/full/dep_link.cc 1306143Snate@binkert.org encumbered/cpu/full/dispatch.cc 1316143Snate@binkert.org encumbered/cpu/full/dyn_inst.cc 1324762Snate@binkert.org encumbered/cpu/full/execute.cc 1334762Snate@binkert.org encumbered/cpu/full/fetch.cc 1346143Snate@binkert.org encumbered/cpu/full/floss_reasons.cc 1356727Ssteve.reinhardt@amd.com encumbered/cpu/full/fu_pool.cc 1366727Ssteve.reinhardt@amd.com encumbered/cpu/full/inst_fifo.cc 1376727Ssteve.reinhardt@amd.com encumbered/cpu/full/instpipe.cc 1384762Snate@binkert.org encumbered/cpu/full/issue.cc 1396143Snate@binkert.org encumbered/cpu/full/ls_queue.cc 1406143Snate@binkert.org encumbered/cpu/full/machine_queue.cc 1416143Snate@binkert.org encumbered/cpu/full/pipetrace.cc 1426143Snate@binkert.org encumbered/cpu/full/readyq.cc 1436727Ssteve.reinhardt@amd.com encumbered/cpu/full/reg_info.cc 1446143Snate@binkert.org encumbered/cpu/full/rob_station.cc 1456143Snate@binkert.org encumbered/cpu/full/spec_memory.cc 1466143Snate@binkert.org encumbered/cpu/full/spec_state.cc 1475604Snate@binkert.org encumbered/cpu/full/storebuffer.cc 1486143Snate@binkert.org encumbered/cpu/full/writeback.cc 1496143Snate@binkert.org encumbered/cpu/full/iq/iq_station.cc 1506143Snate@binkert.org encumbered/cpu/full/iq/iqueue.cc 1514762Snate@binkert.org encumbered/cpu/full/iq/segmented/chain_info.cc 1526143Snate@binkert.org encumbered/cpu/full/iq/segmented/chain_wire.cc 1534762Snate@binkert.org encumbered/cpu/full/iq/segmented/iq_seg.cc 1544762Snate@binkert.org encumbered/cpu/full/iq/segmented/iq_segmented.cc 1554762Snate@binkert.org encumbered/cpu/full/iq/segmented/seg_chain.cc 1566143Snate@binkert.org encumbered/cpu/full/iq/seznec/iq_seznec.cc 1576143Snate@binkert.org encumbered/cpu/full/iq/standard/iq_standard.cc 1584762Snate@binkert.org ''') 1596143Snate@binkert.org 1606143Snate@binkert.orgtrace_reader_sources = Split(''' 1616143Snate@binkert.org cpu/trace/reader/mem_trace_reader.cc 1626143Snate@binkert.org cpu/trace/reader/ibm_reader.cc 1634762Snate@binkert.org cpu/trace/reader/itx_reader.cc 1646143Snate@binkert.org cpu/trace/reader/m5_reader.cc 1654762Snate@binkert.org cpu/trace/opt_cpu.cc 1666143Snate@binkert.org cpu/trace/trace_cpu.cc 1674762Snate@binkert.org ''') 1686143Snate@binkert.org 1696143Snate@binkert.org 1706143Snate@binkert.org 1716143Snate@binkert.org# MySql sources 1726143Snate@binkert.orgmysql_sources = Split(''' 1736143Snate@binkert.org base/mysql.cc 1746143Snate@binkert.org base/stats/mysql.cc 1756143Snate@binkert.org ''') 1766143Snate@binkert.org 1776143Snate@binkert.org# Full-system sources 1786143Snate@binkert.orgfull_system_sources = Split(''' 1796143Snate@binkert.org base/crc.cc 1806143Snate@binkert.org base/inet.cc 181955SN/A base/remote_gdb.cc 1825584Snate@binkert.org 1835584Snate@binkert.org cpu/intr_control.cc 1845584Snate@binkert.org cpu/profile.cc 1855584Snate@binkert.org 1866143Snate@binkert.org dev/alpha_console.cc 1876143Snate@binkert.org dev/baddev.cc 1886143Snate@binkert.org dev/disk_image.cc 1895584Snate@binkert.org dev/io_device.cc 1904382Sbinkertn@umich.edu dev/isa_fake.cc 1914202Sbinkertn@umich.edu dev/pciconfigall.cc 1924382Sbinkertn@umich.edu dev/platform.cc 1934382Sbinkertn@umich.edu dev/simconsole.cc 1944382Sbinkertn@umich.edu dev/simple_disk.cc 1955584Snate@binkert.org dev/tsunami.cc 1964382Sbinkertn@umich.edu dev/tsunami_cchip.cc 1974382Sbinkertn@umich.edu dev/tsunami_io.cc 1984382Sbinkertn@umich.edu dev/tsunami_fake.cc 1995192Ssaidi@eecs.umich.edu dev/tsunami_pchip.cc 2005192Ssaidi@eecs.umich.edu 2015799Snate@binkert.org dev/uart.cc 2025799Snate@binkert.org dev/uart8250.cc 2035799Snate@binkert.org 2045192Ssaidi@eecs.umich.edu kern/kernel_binning.cc 2055799Snate@binkert.org kern/kernel_stats.cc 2065192Ssaidi@eecs.umich.edu kern/system_events.cc 2075799Snate@binkert.org kern/linux/events.cc 2085799Snate@binkert.org kern/linux/linux_syscalls.cc 2095192Ssaidi@eecs.umich.edu kern/linux/printk.cc 2105192Ssaidi@eecs.umich.edu 2115192Ssaidi@eecs.umich.edu mem/vport.cc 2125799Snate@binkert.org 2135192Ssaidi@eecs.umich.edu sim/pseudo_inst.cc 2145192Ssaidi@eecs.umich.edu ''') 2155192Ssaidi@eecs.umich.edu 2165192Ssaidi@eecs.umich.edu# dev/etherbus.cc 2175192Ssaidi@eecs.umich.edu# dev/etherdump.cc 2185192Ssaidi@eecs.umich.edu# dev/etherint.cc 2194382Sbinkertn@umich.edu# dev/etherlink.cc 2204382Sbinkertn@umich.edu# dev/etherpkt.cc 2214382Sbinkertn@umich.edu# dev/ethertap.cc 2222667Sstever@eecs.umich.edu# dev/ide_ctrl.cc 2232667Sstever@eecs.umich.edu# dev/ide_disk.cc 2242667Sstever@eecs.umich.edu# dev/ns_gige.cc 2252667Sstever@eecs.umich.edu# dev/pcidev.cc 2262667Sstever@eecs.umich.edu# dev/pcifake.cc 2272667Sstever@eecs.umich.edu# dev/pktfifo.cc 2285742Snate@binkert.org# dev/sinic.cc 2295742Snate@binkert.org 2305742Snate@binkert.orgif env['TARGET_ISA'] == 'alpha': 2315793Snate@binkert.org full_system_sources += Split(''' 2325793Snate@binkert.org kern/tru64/dump_mbuf.cc 2335793Snate@binkert.org kern/tru64/printf.cc 2345793Snate@binkert.org kern/tru64/tru64_events.cc 2355793Snate@binkert.org kern/tru64/tru64_syscalls.cc 2364382Sbinkertn@umich.edu ''') 2374762Snate@binkert.org 2385344Sstever@gmail.com# turbolaser encumbered sources 2394382Sbinkertn@umich.eduturbolaser_sources = Split(''' 2405341Sstever@gmail.com encumbered/dev/dma.cc 2415742Snate@binkert.org encumbered/dev/etherdev.cc 2425742Snate@binkert.org encumbered/dev/scsi.cc 2435742Snate@binkert.org encumbered/dev/scsi_ctrl.cc 2445742Snate@binkert.org encumbered/dev/scsi_disk.cc 2455742Snate@binkert.org encumbered/dev/scsi_none.cc 2464762Snate@binkert.org encumbered/dev/tlaser_clock.cc 2475742Snate@binkert.org encumbered/dev/tlaser_ipi.cc 2485742Snate@binkert.org encumbered/dev/tlaser_mbox.cc 2495742Snate@binkert.org encumbered/dev/tlaser_mc146818.cc 2505742Snate@binkert.org encumbered/dev/tlaser_node.cc 2515742Snate@binkert.org encumbered/dev/tlaser_pcia.cc 2525742Snate@binkert.org encumbered/dev/tlaser_pcidev.cc 2535742Snate@binkert.org encumbered/dev/tlaser_serial.cc 2545341Sstever@gmail.com encumbered/dev/turbolaser.cc 2555742Snate@binkert.org encumbered/dev/uart8530.cc 2565341Sstever@gmail.com ''') 2574773Snate@binkert.org 2586108Snate@binkert.org# Syscall emulation (non-full-system) sources 2591858SN/Asyscall_emulation_sources = Split(''' 2601085SN/A mem/translating_port.cc 2616658Snate@binkert.org mem/page_table.cc 2626658Snate@binkert.org sim/process.cc 2636658Snate@binkert.org sim/syscall_emul.cc 2646658Snate@binkert.org ''') 2656658Snate@binkert.org 2666658Snate@binkert.org#if env['TARGET_ISA'] == 'alpha': 2676658Snate@binkert.org# syscall_emulation_sources += Split(''' 2686658Snate@binkert.org# kern/tru64/tru64.cc 2696658Snate@binkert.org# ''') 2706658Snate@binkert.org 2716658Snate@binkert.orgalpha_eio_sources = Split(''' 2726658Snate@binkert.org encumbered/eio/exolex.cc 2736658Snate@binkert.org encumbered/eio/libexo.cc 2746658Snate@binkert.org encumbered/eio/eio.cc 2756658Snate@binkert.org ''') 2766658Snate@binkert.org 2776658Snate@binkert.orgif env['TARGET_ISA'] == 'ALPHA_ISA': 2786658Snate@binkert.org syscall_emulation_sources += alpha_eio_sources 2796658Snate@binkert.org 2806658Snate@binkert.orgmemtest_sources = Split(''' 2816658Snate@binkert.org cpu/memtest/memtest.cc 2826658Snate@binkert.org ''') 2836658Snate@binkert.org 2846658Snate@binkert.org# Add a flag defining what THE_ISA should be for all compilation 2856658Snate@binkert.orgenv.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) 2864382Sbinkertn@umich.edu 2874382Sbinkertn@umich.eduarch_sources = SConscript('arch/SConscript', 2884762Snate@binkert.org exports = 'env', duplicate = False) 2894762Snate@binkert.org 2904762Snate@binkert.orgcpu_sources = SConscript('cpu/SConscript', 2916654Snate@binkert.org exports = 'env', duplicate = False) 2926654Snate@binkert.org 2935517Snate@binkert.org# This is outside of cpu/SConscript since the source directory isn't 2945517Snate@binkert.org# underneath 'cpu'. 2955517Snate@binkert.orgif 'FullCPU' in env['CPU_MODELS']: 2965517Snate@binkert.org cpu_sources += full_cpu_sources 2975517Snate@binkert.org 2985517Snate@binkert.org# Set up complete list of sources based on configuration. 2995517Snate@binkert.orgsources = base_sources + arch_sources + cpu_sources 3005517Snate@binkert.org 3015517Snate@binkert.orgif env['FULL_SYSTEM']: 3025517Snate@binkert.org sources += full_system_sources 3035517Snate@binkert.org if env['ALPHA_TLASER']: 3045517Snate@binkert.org sources += turbolaser_sources 3055517Snate@binkert.orgelse: 3065517Snate@binkert.org sources += syscall_emulation_sources 3075517Snate@binkert.org 3085517Snate@binkert.orgif env['USE_MYSQL']: 3095517Snate@binkert.org sources += mysql_sources 3106654Snate@binkert.org 3115517Snate@binkert.orgfor opt in env.ExportOptions: 3125517Snate@binkert.org env.ConfigFile(opt) 3135517Snate@binkert.org 3145517Snate@binkert.org################################################### 3155517Snate@binkert.org# 3165517Snate@binkert.org# Special build rules. 3175517Snate@binkert.org# 3185517Snate@binkert.org################################################### 3196143Snate@binkert.org 3206654Snate@binkert.org# base/traceflags.{cc,hh} are generated from base/traceflags.py. 3215517Snate@binkert.org# $TARGET.base will expand to "<build-dir>/base/traceflags". 3225517Snate@binkert.orgenv.Command(Split('base/traceflags.hh base/traceflags.cc'), 3235517Snate@binkert.org 'base/traceflags.py', 3245517Snate@binkert.org 'python $SOURCE $TARGET.base') 3255517Snate@binkert.org 3265517Snate@binkert.org# libelf build is described in its own SConscript file. 3275517Snate@binkert.org# SConscript-local is the per-config build, which just copies some 3285517Snate@binkert.org# header files into a place where they can be found. 3295517Snate@binkert.orgSConscript('libelf/SConscript-local', exports = 'env', duplicate=0) 3305517Snate@binkert.orgSConscript('python/SConscript', exports = ['env'], duplicate=0) 3315517Snate@binkert.org 3325517Snate@binkert.org# This function adds the specified sources to the given build 3335517Snate@binkert.org# environment, and returns a list of all the corresponding SCons 3345517Snate@binkert.org# Object nodes (including an extra one for date.cc). We explicitly 3356654Snate@binkert.org# add the Object nodes so we can set up special dependencies for 3366654Snate@binkert.org# date.cc. 3375517Snate@binkert.orgdef make_objs(sources, env): 3385517Snate@binkert.org objs = [env.Object(s) for s in sources] 3396143Snate@binkert.org # make date.cc depend on all other objects so it always gets 3406143Snate@binkert.org # recompiled whenever anything else does 3416143Snate@binkert.org date_obj = env.Object('base/date.cc') 3426727Ssteve.reinhardt@amd.com env.Depends(date_obj, objs) 3435517Snate@binkert.org objs.append(date_obj) 3446727Ssteve.reinhardt@amd.com return objs 3455517Snate@binkert.org 3465517Snate@binkert.org################################################### 3475517Snate@binkert.org# 3486654Snate@binkert.org# Define binaries. Each different build type (debug, opt, etc.) gets 3496654Snate@binkert.org# a slightly different build environment. 3506654Snate@binkert.org# 3516654Snate@binkert.org################################################### 3526654Snate@binkert.org 3536654Snate@binkert.org# Include file paths are rooted in this directory. SCons will 3545517Snate@binkert.org# automatically expand '.' to refer to both the source directory and 3555517Snate@binkert.org# the corresponding build directory to pick up generated include 3565517Snate@binkert.org# files. 3576143Snate@binkert.orgenv.Append(CPPPATH='.') 3585517Snate@binkert.orgenv.Append(CPPPATH='./libelf') 3594762Snate@binkert.org 3605517Snate@binkert.org# Debug binary 3615517Snate@binkert.orgdebugEnv = env.Copy(OBJSUFFIX='.do') 3626143Snate@binkert.orgdebugEnv.Label = 'debug' 3636143Snate@binkert.orgdebugEnv.Append(CCFLAGS=Split('-g3 -gdwarf-2 -O0')) 3645517Snate@binkert.orgdebugEnv.Append(CPPDEFINES='DEBUG') 3655517Snate@binkert.orgtlist = debugEnv.Program(target = 'm5.debug', 3665517Snate@binkert.org source = make_objs(sources, debugEnv)) 3675517Snate@binkert.orgdebugEnv.M5Binary = tlist[0] 3685517Snate@binkert.org 3695517Snate@binkert.org# Optimized binary 3705517Snate@binkert.orgoptEnv = env.Copy() 3715517Snate@binkert.orgoptEnv.Label = 'opt' 3725517Snate@binkert.orgoptEnv.Append(CCFLAGS=Split('-g -O3')) 3735517Snate@binkert.orgtlist = optEnv.Program(target = 'm5.opt', 3746143Snate@binkert.org source = make_objs(sources, optEnv)) 3755517Snate@binkert.orgoptEnv.M5Binary = tlist[0] 3766654Snate@binkert.org 3776654Snate@binkert.org# "Fast" binary 3786654Snate@binkert.orgfastEnv = env.Copy(OBJSUFFIX='.fo') 3796654Snate@binkert.orgfastEnv.Label = 'fast' 3806654Snate@binkert.orgfastEnv.Append(CCFLAGS=Split('-O3')) 3816654Snate@binkert.orgfastEnv.Append(CPPDEFINES='NDEBUG') 3825517Snate@binkert.orgfastEnv.Program(target = 'm5.fast.unstripped', 3835517Snate@binkert.org source = make_objs(sources, fastEnv)) 3845517Snate@binkert.orgtlist = fastEnv.Command(target = 'm5.fast', 3855517Snate@binkert.org source = 'm5.fast.unstripped', 3865517Snate@binkert.org action = 'strip $SOURCE -o $TARGET') 3874762Snate@binkert.orgfastEnv.M5Binary = tlist[0] 3884762Snate@binkert.org 3894762Snate@binkert.org# Profiled binary 3904762Snate@binkert.orgprofEnv = env.Copy(OBJSUFFIX='.po') 3914762Snate@binkert.orgprofEnv.Label = 'prof' 3924762Snate@binkert.orgprofEnv.Append(CCFLAGS=Split('-O3 -g -pg'), LINKFLAGS='-pg') 3936143Snate@binkert.orgtlist = profEnv.Program(target = 'm5.prof', 3944762Snate@binkert.org source = make_objs(sources, profEnv)) 3954762Snate@binkert.orgprofEnv.M5Binary = tlist[0] 3964762Snate@binkert.org 3974762Snate@binkert.orgenvList = [debugEnv, optEnv, fastEnv, profEnv] 3984382Sbinkertn@umich.edu 3994382Sbinkertn@umich.eduReturn('envList') 4005517Snate@binkert.org