SConscript (13576:88594d85f9a9) SConscript (13577:70ab75eec40b)
1# -*- mode:python -*-
2
3# Copyright (c) 2018 ARM Limited
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software

--- 279 unchanged lines hidden (view full) ---

288 if not os.path.exists(cpp_dir):
289 os.makedirs(cpp_dir)
290 cpp_code.write(cpp_path)
291 hpp_code.write(hpp_path)
292 env.Command([cpp_path, hpp_path], blob_path,
293 MakeAction(embedBlob, Transform("EMBED BLOB")))
294 Source(cpp_path)
295
1# -*- mode:python -*-
2
3# Copyright (c) 2018 ARM Limited
4#
5# The license below extends only to copyright in the software and shall
6# not be construed as granting a license to any other intellectual
7# property including but not limited to intellectual property relating
8# to a hardware implementation of the functionality of the software

--- 279 unchanged lines hidden (view full) ---

288 if not os.path.exists(cpp_dir):
289 os.makedirs(cpp_dir)
290 cpp_code.write(cpp_path)
291 hpp_code.write(hpp_path)
292 env.Command([cpp_path, hpp_path], blob_path,
293 MakeAction(embedBlob, Transform("EMBED BLOB")))
294 Source(cpp_path)
295
296def GdbXml(xml_id, symbol):
297 Blob(joinpath(gdb_xml_dir, xml_id), symbol)
298
296class Source(SourceFile):
297 ungrouped_tag = 'No link group'
298 source_groups = set()
299
300 _current_group_tag = ungrouped_tag
301
302 @staticmethod
303 def link_group_tag(group):

--- 213 unchanged lines hidden (view full) ---

517
518 def declare(self, env):
519 objs = env['MAIN_OBJS'] + env['STATIC_OBJS']
520 return super(Gem5, self).declare(env, objs)
521
522
523# Children should have access
524Export('Blob')
299class Source(SourceFile):
300 ungrouped_tag = 'No link group'
301 source_groups = set()
302
303 _current_group_tag = ungrouped_tag
304
305 @staticmethod
306 def link_group_tag(group):

--- 213 unchanged lines hidden (view full) ---

520
521 def declare(self, env):
522 objs = env['MAIN_OBJS'] + env['STATIC_OBJS']
523 return super(Gem5, self).declare(env, objs)
524
525
526# Children should have access
527Export('Blob')
528Export('GdbXml')
525Export('Source')
526Export('PySource')
527Export('SimObject')
528Export('ProtoBuf')
529Export('Executable')
530Export('UnitTest')
531Export('GTest')
532

--- 865 unchanged lines hidden ---
529Export('Source')
530Export('PySource')
531Export('SimObject')
532Export('ProtoBuf')
533Export('Executable')
534Export('UnitTest')
535Export('GTest')
536

--- 865 unchanged lines hidden ---