Kernel updates since December 2009

This commit is contained in:
Bahadir Balban
2010-03-25 01:12:40 +02:00
parent 16818191b3
commit 74b5963fcb
487 changed files with 22477 additions and 3857 deletions

View File

@@ -1,19 +1,32 @@
import glob
import os, sys, glob
Import("env", "symbols")
PROJRELROOT = '../../'
sys.path.append(PROJRELROOT)
from config.projpaths import *
from configure import *
Import("env", "symbols", "platform", "bdir")
src_local = []
objs = []
for name, val in symbols:
if "CONFIG_DRIVER_UART_PL011" == name:
src_local.append(glob.glob("uart/pl011/*.c"))
objs += SConscript("uart/pl011/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + 'pl011')
if "CONFIG_DRIVER_TIMER_SP804" == name:
src_local.append(glob.glob("timer/sp804/*.c"))
objs += SConscript("timer/sp804/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + 'timer')
if "CONFIG_DRIVER_IRQ_PL190" == name:
src_local.append(glob.glob("irq/pl190/*.c"))
objs += SConscript("irq/pl190/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + 'vic')
if "CONFIG_DRIVER_IRQ_GIC" == name:
src_local.append(glob.glob("irq/gic/*.c"))
objs += SConscript("irq/gic/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + 'gic')
if "CONFIG_DRIVER_INTC_OMAP" == name:
objs += SConscript("irq/omap3/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + '/omap/intc')
if "CONFIG_DRIVER_UART_OMAP" == name:
objs += SConscript("uart/omap/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + '/omap/uart')
if "CONFIG_DRIVER_TIMER_OMAP" == name:
objs += SConscript("timer/omap/SConscript", exports = {'env' : env}, duplicate=0, build_dir=bdir + '/omap/timer')
obj = env.Object(src_local)
Return('obj')
Return('objs')