SConscript (11308:7d8836fd043d) | SConscript (11330:c2146e4e20cd) |
---|---|
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 --- 948 unchanged lines hidden (view full) --- 957 env.Depends(SWIG, hh_file) 958 959env.Command('debug/flags.cc', Value(debug_flags), 960 MakeAction(makeDebugFlagCC, Transform("TRACING", 0))) 961env.Depends(SWIG, 'debug/flags.cc') 962Source('debug/flags.cc') 963 964# version tags | 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 --- 948 unchanged lines hidden (view full) --- 957 env.Depends(SWIG, hh_file) 958 959env.Command('debug/flags.cc', Value(debug_flags), 960 MakeAction(makeDebugFlagCC, Transform("TRACING", 0))) 961env.Depends(SWIG, 'debug/flags.cc') 962Source('debug/flags.cc') 963 964# version tags |
965tags = \ |
|
965env.Command('sim/tags.cc', None, 966 MakeAction('util/cpt_upgrader.py --get-cc-file > $TARGET', 967 Transform("VER TAGS"))) | 966env.Command('sim/tags.cc', None, 967 MakeAction('util/cpt_upgrader.py --get-cc-file > $TARGET', 968 Transform("VER TAGS"))) |
969env.AlwaysBuild(tags) |
|
968 969# Embed python files. All .py files that have been indicated by a 970# PySource() call in a SConscript need to be embedded into the M5 971# library. To do that, we compile the file to byte code, marshal the 972# byte code, compress it, and then generate a c++ file that 973# inserts the result into an array. 974def embedPyFile(target, source, env): 975 def c_str(string): --- 340 unchanged lines hidden --- | 970 971# Embed python files. All .py files that have been indicated by a 972# PySource() call in a SConscript need to be embedded into the M5 973# library. To do that, we compile the file to byte code, marshal the 974# byte code, compress it, and then generate a c++ file that 975# inserts the result into an array. 976def embedPyFile(target, source, env): 977 def c_str(string): --- 340 unchanged lines hidden --- |