SConscript revision 5612
16691Stjones1@inf.ed.ac.uk# -*- mode:python -*-
26691Stjones1@inf.ed.ac.uk
36691Stjones1@inf.ed.ac.uk# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
46691Stjones1@inf.ed.ac.uk# All rights reserved.
56691Stjones1@inf.ed.ac.uk#
66691Stjones1@inf.ed.ac.uk# Redistribution and use of this software in source and binary forms,
76691Stjones1@inf.ed.ac.uk# with or without modification, are permitted provided that the
86691Stjones1@inf.ed.ac.uk# following conditions are met:
96691Stjones1@inf.ed.ac.uk#
106691Stjones1@inf.ed.ac.uk# The software must be used only for Non-Commercial Use which means any
116691Stjones1@inf.ed.ac.uk# use which is NOT directed to receiving any direct monetary
126691Stjones1@inf.ed.ac.uk# compensation for, or commercial advantage from such use.  Illustrative
136691Stjones1@inf.ed.ac.uk# examples of non-commercial use are academic research, personal study,
146691Stjones1@inf.ed.ac.uk# teaching, education and corporate research & development.
156691Stjones1@inf.ed.ac.uk# Illustrative examples of commercial use are distributing products for
166691Stjones1@inf.ed.ac.uk# commercial advantage and providing services using the software for
176691Stjones1@inf.ed.ac.uk# commercial advantage.
186691Stjones1@inf.ed.ac.uk#
196691Stjones1@inf.ed.ac.uk# If you wish to use this software or functionality therein that may be
206691Stjones1@inf.ed.ac.uk# covered by patents for commercial use, please contact:
216691Stjones1@inf.ed.ac.uk#     Director of Intellectual Property Licensing
226691Stjones1@inf.ed.ac.uk#     Office of Strategy and Technology
236691Stjones1@inf.ed.ac.uk#     Hewlett-Packard Company
246691Stjones1@inf.ed.ac.uk#     1501 Page Mill Road
256691Stjones1@inf.ed.ac.uk#     Palo Alto, California  94304
266691Stjones1@inf.ed.ac.uk#
276691Stjones1@inf.ed.ac.uk# Redistributions of source code must retain the above copyright notice,
286691Stjones1@inf.ed.ac.uk# this list of conditions and the following disclaimer.  Redistributions
296691Stjones1@inf.ed.ac.uk# in binary form must reproduce the above copyright notice, this list of
306691Stjones1@inf.ed.ac.uk# conditions and the following disclaimer in the documentation and/or
316691Stjones1@inf.ed.ac.uk# other materials provided with the distribution.  Neither the name of
326691Stjones1@inf.ed.ac.uk# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
336691Stjones1@inf.ed.ac.uk# contributors may be used to endorse or promote products derived from
346691Stjones1@inf.ed.ac.uk# this software without specific prior written permission.  No right of
356691Stjones1@inf.ed.ac.uk# sublicense is granted herewith.  Derivatives of the software and
366691Stjones1@inf.ed.ac.uk# output created using the software may be prepared, but only for
379022Sgblack@eecs.umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
386691Stjones1@inf.ed.ac.uk# others provided: (i) the others agree to abide by the list of
396691Stjones1@inf.ed.ac.uk# conditions herein which includes the Non-Commercial Use restrictions;
406691Stjones1@inf.ed.ac.uk# and (ii) such Derivatives of the software include the above copyright
416691Stjones1@inf.ed.ac.uk# notice to acknowledge the contribution from this software where
426691Stjones1@inf.ed.ac.uk# applicable, this list of conditions and the disclaimer below.
436691Stjones1@inf.ed.ac.uk#
448745Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
458772Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
468772Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
479384SAndreas.Sandberg@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
486691Stjones1@inf.ed.ac.uk# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
498772Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
508792Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
516691Stjones1@inf.ed.ac.uk# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
527506Stjones1@inf.ed.ac.uk# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
538759Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
546691Stjones1@inf.ed.ac.uk# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
558745Sgblack@eecs.umich.edu#
569384SAndreas.Sandberg@arm.com# Authors: Gabe Black
576691Stjones1@inf.ed.ac.uk
588745Sgblack@eecs.umich.eduImport('*')
598335Snate@binkert.org
606691Stjones1@inf.ed.ac.ukif env['TARGET_ISA'] == 'x86':
616691Stjones1@inf.ed.ac.uk    if env['FULL_SYSTEM']:
626691Stjones1@inf.ed.ac.uk        SimObject('E820.py')
636691Stjones1@inf.ed.ac.uk        Source('e820.cc')
646691Stjones1@inf.ed.ac.uk
656691Stjones1@inf.ed.ac.uk	Source('smbios.cc')
666691Stjones1@inf.ed.ac.uk