SConscript revision 12653
14276Sgblack@eecs.umich.edu# -*- mode:python -*-
24276Sgblack@eecs.umich.edu
34276Sgblack@eecs.umich.edu# Copyright (c) 2017-2018 ARM Limited
44276Sgblack@eecs.umich.edu# All rights reserved.
54276Sgblack@eecs.umich.edu#
64276Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall
74276Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual
84276Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating
94276Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software
104276Sgblack@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
114276Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
124276Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
134276Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form.
144276Sgblack@eecs.umich.edu#
154276Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
164276Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
174276Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
184276Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
194276Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
204276Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
214276Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
224276Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
234276Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
244276Sgblack@eecs.umich.edu# this software without specific prior written permission.
254276Sgblack@eecs.umich.edu#
264276Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
274276Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
284276Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
294276Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
304276Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
314276Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
324276Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334276Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
344276Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
354276Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
364276Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
374276Sgblack@eecs.umich.edu#
384276Sgblack@eecs.umich.edu# Authors: Andreas Sandberg
394276Sgblack@eecs.umich.edu
404276Sgblack@eecs.umich.eduImport('*')
414276Sgblack@eecs.umich.edu
424276Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'null':
434276Sgblack@eecs.umich.edu    Return()
444276Sgblack@eecs.umich.edu
454276Sgblack@eecs.umich.eduSimObject('PS2.py')
464276Sgblack@eecs.umich.eduSource('device.cc')
474276Sgblack@eecs.umich.eduSource('keyboard.cc')
484276Sgblack@eecs.umich.eduSource('mouse.cc')
494276Sgblack@eecs.umich.edu
504276Sgblack@eecs.umich.eduDebugFlag('PS2')
514276Sgblack@eecs.umich.edu