SConscript (5742:828a8296270e) | SConscript (5793:321f79ddb500) |
---|---|
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 --- 206 unchanged lines hidden (view full) --- 215env.Append(CPPPATH=Dir('.')) 216 217for extra_dir in extras_dir_list: 218 env.Append(CPPPATH=Dir(extra_dir)) 219 220# Add a flag defining what THE_ISA should be for all compilation 221env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) 222 | 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 --- 206 unchanged lines hidden (view full) --- 215env.Append(CPPPATH=Dir('.')) 216 217for extra_dir in extras_dir_list: 218 env.Append(CPPPATH=Dir(extra_dir)) 219 220# Add a flag defining what THE_ISA should be for all compilation 221env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) 222 |
223# Workaround for bug in SCons version > 0.97d20071212 224# Scons bug id: 2006 M5 Bug id: 308 225for root, dirs, files in os.walk(base_dir, topdown=True): 226 Dir(root[len(base_dir) + 1:]) 227 |
|
223######################################################################## 224# 225# Walk the tree and execute all SConscripts in subdirectories 226# 227 228here = Dir('.').srcnode().abspath 229for root, dirs, files in os.walk(base_dir, topdown=True): 230 if root == here: --- 846 unchanged lines hidden --- | 228######################################################################## 229# 230# Walk the tree and execute all SConscripts in subdirectories 231# 232 233here = Dir('.').srcnode().abspath 234for root, dirs, files in os.walk(base_dir, topdown=True): 235 if root == here: --- 846 unchanged lines hidden --- |