mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 12:23:15 +01:00
Kernel updates since December 2009
This commit is contained in:
@@ -1,10 +1,22 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
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 = ['init.c', 'memory.c', 'systable.c', 'irq.c']
|
||||
src_local = ['init.c', 'memory.c', 'systable.c', 'irq.c', 'cache.c', 'debug.c']
|
||||
|
||||
for name, val in symbols:
|
||||
if 'CONFIG_SMP' == name:
|
||||
src_local += ['smp.c', 'ipi.c', 'smp_test.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
|
||||
Reference in New Issue
Block a user