SConscript (9003:37b7913d2d35) | SConscript (9048:950298f29140) |
---|---|
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 --- 340 unchanged lines hidden (view full) --- 349 350 for i,isa in enumerate(isas): 351 code('#define $0 $1', define(isa), i + 1) 352 353 code(''' 354 355#define THE_ISA ${{define(target_isa)}} 356#define TheISA ${{namespace(target_isa)}} | 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 --- 340 unchanged lines hidden (view full) --- 349 350 for i,isa in enumerate(isas): 351 code('#define $0 $1', define(isa), i + 1) 352 353 code(''' 354 355#define THE_ISA ${{define(target_isa)}} 356#define TheISA ${{namespace(target_isa)}} |
357#define THE_ISA_STR "${{target_isa}}" |
|
357 358#endif // __CONFIG_THE_ISA_HH__''') 359 360 code.write(str(target[0])) 361 362env.Command('config/the_isa.hh', map(Value, all_isa_list), 363 MakeAction(makeTheISA, Transform("CFG ISA", 0))) 364 --- 648 unchanged lines hidden --- | 358 359#endif // __CONFIG_THE_ISA_HH__''') 360 361 code.write(str(target[0])) 362 363env.Command('config/the_isa.hh', map(Value, all_isa_list), 364 MakeAction(makeTheISA, Transform("CFG ISA", 0))) 365 --- 648 unchanged lines hidden --- |