SConscript (3541:d74340b852f6) | SConscript (3542:9f744a6e22cf) |
---|---|
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 --- 280 unchanged lines hidden (view full) --- 289 290# Add a flag defining what THE_ISA should be for all compilation 291env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) 292 293arch_sources = SConscript(os.path.join('arch', 'SConscript'), exports = 'env') 294 295cpu_sources = SConscript(os.path.join('cpu', 'SConscript'), exports = 'env') 296 | 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 --- 280 unchanged lines hidden (view full) --- 289 290# Add a flag defining what THE_ISA should be for all compilation 291env.Append(CPPDEFINES=[('THE_ISA','%s_ISA' % env['TARGET_ISA'].upper())]) 292 293arch_sources = SConscript(os.path.join('arch', 'SConscript'), exports = 'env') 294 295cpu_sources = SConscript(os.path.join('cpu', 'SConscript'), exports = 'env') 296 |
297dev_sources = SConscript(os.path.join('dev', 'SConscript'), exports = 'env') 298full_system_sources += dev_sources | 297if env['FULL_SYSTEM']: 298 dev_sources = SConscript(os.path.join('dev', 'SConscript'), exports = 'env') 299 full_system_sources += dev_sources |
299 300# This is outside of cpu/SConscript since the source directory isn't 301# underneath 'cpu'. 302if 'FullCPU' in env['CPU_MODELS']: 303 cpu_sources += full_cpu_sources 304 305# Set up complete list of sources based on configuration. 306sources = base_sources + arch_sources + cpu_sources --- 91 unchanged lines hidden --- | 300 301# This is outside of cpu/SConscript since the source directory isn't 302# underneath 'cpu'. 303if 'FullCPU' in env['CPU_MODELS']: 304 cpu_sources += full_cpu_sources 305 306# Set up complete list of sources based on configuration. 307sources = base_sources + arch_sources + cpu_sources --- 91 unchanged lines hidden --- |