SConscript revision 12653
14762Snate@binkert.org# -*- mode:python -*-
24762Snate@binkert.org
34762Snate@binkert.org# Copyright (c) 2017-2018 ARM Limited
44762Snate@binkert.org# All rights reserved.
54762Snate@binkert.org#
64762Snate@binkert.org# The license below extends only to copyright in the software and shall
74762Snate@binkert.org# not be construed as granting a license to any other intellectual
84762Snate@binkert.org# property including but not limited to intellectual property relating
94762Snate@binkert.org# to a hardware implementation of the functionality of the software
104762Snate@binkert.org# licensed hereunder.  You may use the software subject to the license
114762Snate@binkert.org# terms below provided that you ensure that this notice is replicated
124762Snate@binkert.org# unmodified and in its entirety in all distributions of the software,
134762Snate@binkert.org# modified or unmodified, in source code or in binary form.
144762Snate@binkert.org#
154762Snate@binkert.org# Redistribution and use in source and binary forms, with or without
164762Snate@binkert.org# modification, are permitted provided that the following conditions are
174762Snate@binkert.org# met: redistributions of source code must retain the above copyright
184762Snate@binkert.org# notice, this list of conditions and the following disclaimer;
194762Snate@binkert.org# redistributions in binary form must reproduce the above copyright
204762Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
214762Snate@binkert.org# documentation and/or other materials provided with the distribution;
224762Snate@binkert.org# neither the name of the copyright holders nor the names of its
234762Snate@binkert.org# contributors may be used to endorse or promote products derived from
244762Snate@binkert.org# this software without specific prior written permission.
254762Snate@binkert.org#
264762Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
274762Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
284762Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
294762Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
304762Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
314762Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
324762Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
334762Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
344762Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37#
38# Authors: Andreas Sandberg
39
40Import('*')
41
42if env['TARGET_ISA'] == 'null':
43    Return()
44
45SimObject('PS2.py')
46Source('device.cc')
47Source('keyboard.cc')
48Source('mouse.cc')
49
50DebugFlag('PS2')
51