SConscript revision 5614
12023SN/A# -*- mode:python -*- 22023SN/A 32023SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 42023SN/A# All rights reserved. 52023SN/A# 62023SN/A# Redistribution and use of this software in source and binary forms, 72023SN/A# with or without modification, are permitted provided that the 82023SN/A# following conditions are met: 92023SN/A# 102023SN/A# The software must be used only for Non-Commercial Use which means any 112023SN/A# use which is NOT directed to receiving any direct monetary 122023SN/A# compensation for, or commercial advantage from such use. Illustrative 132023SN/A# examples of non-commercial use are academic research, personal study, 142023SN/A# teaching, education and corporate research & development. 152023SN/A# Illustrative examples of commercial use are distributing products for 162023SN/A# commercial advantage and providing services using the software for 172023SN/A# commercial advantage. 182023SN/A# 192023SN/A# If you wish to use this software or functionality therein that may be 202023SN/A# covered by patents for commercial use, please contact: 212023SN/A# Director of Intellectual Property Licensing 222023SN/A# Office of Strategy and Technology 232023SN/A# Hewlett-Packard Company 242023SN/A# 1501 Page Mill Road 252023SN/A# Palo Alto, California 94304 262023SN/A# 272023SN/A# Redistributions of source code must retain the above copyright notice, 282665Ssaidi@eecs.umich.edu# this list of conditions and the following disclaimer. Redistributions 292665Ssaidi@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of 302665Ssaidi@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or 312023SN/A# other materials provided with the distribution. Neither the name of 324202Sbinkertn@umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 332023SN/A# contributors may be used to endorse or promote products derived from 344202Sbinkertn@umich.edu# this software without specific prior written permission. No right of 359022Sgblack@eecs.umich.edu# sublicense is granted herewith. Derivatives of the software and 364997Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for 374202Sbinkertn@umich.edu# Non-Commercial Uses. Derivatives of the software may be shared with 388780Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of 398780Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions; 408745Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright 414997Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where 426313Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below. 438777Sgblack@eecs.umich.edu# 448780Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 458780Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 468780Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 478777Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 484997Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 498780Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 506327Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 514202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 528777Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 538780Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 544997Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 554826Ssaidi@eecs.umich.edu# 568755Sgblack@eecs.umich.edu# Authors: Gabe Black 572023SN/A 588745Sgblack@eecs.umich.eduImport('*') 599384SAndreas.Sandberg@arm.com 608780Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'x86': 614997Sgblack@eecs.umich.edu if env['FULL_SYSTEM']: 624997Sgblack@eecs.umich.edu # The table generated by the bootloader using the BIOS and passed to 634202Sbinkertn@umich.edu # the operating system which maps out physical memory. 6412222Sgabeblack@google.com SimObject('E820.py') 65 Source('e820.cc') 66 67 # The DMI tables. 68 Source('smbios.cc') 69