URL
https://opencores.org/ocsvn/c0or1k/c0or1k/trunk
Subversion Repositories c0or1k
[/] [c0or1k/] [trunk/] [src/] [arch/] [or1k/] [SConscript] - Rev 7
Compare with Previous | Blame | View Log
# Inherit global environment
import os, sys, glob
PROJRELROOT = '../../'
sys.path.append(PROJRELROOT)
from config.projpaths import *
from configure import *
Import('env', 'symbols')
# The set of source files associated with this SConscript file.
src_local = ['head.S', 'vectors.S', 'syscall.S', 'exception-common.c', 'mapping-common.c', 'memset.S', 'memcpy.S']
for name, val in symbols:
if 'CONFIG_SMP' == name:
src_local += ['head-smp.S']
obj = env.Object(src_local)
Return('obj')