1# -*- mode:python -*-
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
--- 61 unchanged lines hidden (view full) ---
70DRAMFile('SimulatorObject.cpp')
71DRAMFile('Transaction.cpp')
72
73# DRAMSim2 violates some of the warning flags used by gem5, so
74# we explicitly disable them here
75dramenv = main.Clone()
76dramenv.Append(CCFLAGS=['-Wno-unused-value'])
77
78# Tell DRAMSim2 to not store any data as this is already covered by
79# the wrapper
80dramenv.Append(CCFLAGS=['-DNO_STORAGE'])
81
82dramenv.Library('dramsim2', [main.SharedObject(f) for f in dram_files])
83
84main.Prepend(CPPPATH=Dir('.'))
85main.Append(LIBS=['dramsim2'])
86main.Prepend(LIBPATH=[Dir('.')])
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
--- 61 unchanged lines hidden (view full) ---
70DRAMFile('SimulatorObject.cpp')
71DRAMFile('Transaction.cpp')
72
73# DRAMSim2 violates some of the warning flags used by gem5, so
74# we explicitly disable them here
75dramenv = main.Clone()
76dramenv.Append(CCFLAGS=['-Wno-unused-value'])
77
78# Tell DRAMSim2 to not store any data as this is already covered by
79# the wrapper
80dramenv.Append(CCFLAGS=['-DNO_STORAGE'])
81
82dramenv.Library('dramsim2', [main.SharedObject(f) for f in dram_files])
83
84main.Prepend(CPPPATH=Dir('.'))
85main.Append(LIBS=['dramsim2'])
86main.Prepend(LIBPATH=[Dir('.')])