SConscript (10878:0e466ba12a99) | SConscript (11077:fae097742b7e) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 902 unchanged lines hidden (view full) --- 911 MakeAction(makeDebugFlagHH, Transform("TRACING", 0))) 912 env.Depends(SWIG, hh_file) 913 914env.Command('debug/flags.cc', Value(debug_flags), 915 MakeAction(makeDebugFlagCC, Transform("TRACING", 0))) 916env.Depends(SWIG, 'debug/flags.cc') 917Source('debug/flags.cc') 918 | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 902 unchanged lines hidden (view full) --- 911 MakeAction(makeDebugFlagHH, Transform("TRACING", 0))) 912 env.Depends(SWIG, hh_file) 913 914env.Command('debug/flags.cc', Value(debug_flags), 915 MakeAction(makeDebugFlagCC, Transform("TRACING", 0))) 916env.Depends(SWIG, 'debug/flags.cc') 917Source('debug/flags.cc') 918 |
919# version tags 920env.Command('sim/tags.cc', None, 921 MakeAction('util/cpt_upgrader.py --get-cc-file > $TARGET', 922 Transform("VER TAGS"))) 923 |
|
919# Embed python files. All .py files that have been indicated by a 920# PySource() call in a SConscript need to be embedded into the M5 921# library. To do that, we compile the file to byte code, marshal the 922# byte code, compress it, and then generate a c++ file that 923# inserts the result into an array. 924def embedPyFile(target, source, env): 925 def c_str(string): 926 if string is None: --- 347 unchanged lines hidden --- | 924# Embed python files. All .py files that have been indicated by a 925# PySource() call in a SConscript need to be embedded into the M5 926# library. To do that, we compile the file to byte code, marshal the 927# byte code, compress it, and then generate a c++ file that 928# inserts the result into an array. 929def embedPyFile(target, source, env): 930 def c_str(string): 931 if string is None: --- 347 unchanged lines hidden --- |