SConscript revision 5612
19363Snilay@cs.wisc.edu# -*- mode:python -*-
29363Snilay@cs.wisc.edu
39363Snilay@cs.wisc.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
49363Snilay@cs.wisc.edu# All rights reserved.
59363Snilay@cs.wisc.edu#
69363Snilay@cs.wisc.edu# Redistribution and use of this software in source and binary forms,
79363Snilay@cs.wisc.edu# with or without modification, are permitted provided that the
89363Snilay@cs.wisc.edu# following conditions are met:
99363Snilay@cs.wisc.edu#
109363Snilay@cs.wisc.edu# The software must be used only for Non-Commercial Use which means any
119363Snilay@cs.wisc.edu# use which is NOT directed to receiving any direct monetary
129363Snilay@cs.wisc.edu# compensation for, or commercial advantage from such use.  Illustrative
139363Snilay@cs.wisc.edu# examples of non-commercial use are academic research, personal study,
149363Snilay@cs.wisc.edu# teaching, education and corporate research & development.
159363Snilay@cs.wisc.edu# Illustrative examples of commercial use are distributing products for
169363Snilay@cs.wisc.edu# commercial advantage and providing services using the software for
179363Snilay@cs.wisc.edu# commercial advantage.
189363Snilay@cs.wisc.edu#
199363Snilay@cs.wisc.edu# If you wish to use this software or functionality therein that may be
209363Snilay@cs.wisc.edu# covered by patents for commercial use, please contact:
219363Snilay@cs.wisc.edu#     Director of Intellectual Property Licensing
229363Snilay@cs.wisc.edu#     Office of Strategy and Technology
239363Snilay@cs.wisc.edu#     Hewlett-Packard Company
249363Snilay@cs.wisc.edu#     1501 Page Mill Road
259363Snilay@cs.wisc.edu#     Palo Alto, California  94304
269363Snilay@cs.wisc.edu#
279363Snilay@cs.wisc.edu# Redistributions of source code must retain the above copyright notice,
289363Snilay@cs.wisc.edu# this list of conditions and the following disclaimer.  Redistributions
299363Snilay@cs.wisc.edu# in binary form must reproduce the above copyright notice, this list of
309363Snilay@cs.wisc.edu# conditions and the following disclaimer in the documentation and/or
319363Snilay@cs.wisc.edu# other materials provided with the distribution.  Neither the name of
3211108Sdavid.hashe@amd.com# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
339363Snilay@cs.wisc.edu# contributors may be used to endorse or promote products derived from
349363Snilay@cs.wisc.edu# this software without specific prior written permission.  No right of
359363Snilay@cs.wisc.edu# sublicense is granted herewith.  Derivatives of the software and
369363Snilay@cs.wisc.edu# output created using the software may be prepared, but only for
379363Snilay@cs.wisc.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
389363Snilay@cs.wisc.edu# others provided: (i) the others agree to abide by the list of
399363Snilay@cs.wisc.edu# conditions herein which includes the Non-Commercial Use restrictions;
409363Snilay@cs.wisc.edu# and (ii) such Derivatives of the software include the above copyright
419363Snilay@cs.wisc.edu# notice to acknowledge the contribution from this software where
429363Snilay@cs.wisc.edu# applicable, this list of conditions and the disclaimer below.
439363Snilay@cs.wisc.edu#
449363Snilay@cs.wisc.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4511025Snilay@cs.wisc.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
4611025Snilay@cs.wisc.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
4711025Snilay@cs.wisc.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4810466Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4910466Sandreas.hansson@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
509363Snilay@cs.wisc.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
519363Snilay@cs.wisc.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
529363Snilay@cs.wisc.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
539363Snilay@cs.wisc.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
549363Snilay@cs.wisc.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
559363Snilay@cs.wisc.edu#
569363Snilay@cs.wisc.edu# Authors: Gabe Black
579363Snilay@cs.wisc.edu
589363Snilay@cs.wisc.eduImport('*')
599363Snilay@cs.wisc.edu
609363Snilay@cs.wisc.eduif env['TARGET_ISA'] == 'x86':
619363Snilay@cs.wisc.edu    if env['FULL_SYSTEM']:
629363Snilay@cs.wisc.edu        SimObject('E820.py')
639363Snilay@cs.wisc.edu        Source('e820.cc')
649363Snilay@cs.wisc.edu
659363Snilay@cs.wisc.edu	Source('smbios.cc')
669363Snilay@cs.wisc.edu