mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 11:53:15 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
@@ -1,21 +1,23 @@
|
||||
|
||||
# Inherit global environment
|
||||
import os, sys, glob
|
||||
import os, sys
|
||||
|
||||
PROJRELROOT = '../../'
|
||||
|
||||
sys.path.append(PROJRELROOT)
|
||||
|
||||
from config.projpaths import *
|
||||
from configure import *
|
||||
from scripts.config.projpaths import *
|
||||
from scripts.config.config_invoke import *
|
||||
|
||||
Import('env', 'symbols')
|
||||
Import('env')
|
||||
|
||||
config = configuration_retrieve()
|
||||
symbols = config.all
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['irq.c', 'platform.c', 'print-early.c', 'perfmon.c', 'cpuperf.S']
|
||||
|
||||
for name, val in symbols:
|
||||
if 'CONFIG_SMP' == name:
|
||||
if 'CONFIG_SMP_' == name:
|
||||
src_local += ['smp.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
|
||||
Reference in New Issue
Block a user