Working compilation, but adding variant_dir = BUILD it doesn't work

This commit is contained in:
Bahadir Balban
2009-09-11 13:55:46 +03:00
parent cc90efd120
commit 942865e6fc
9 changed files with 118 additions and 30 deletions

17
src/drivers/SConscript Normal file
View File

@@ -0,0 +1,17 @@
import glob
Import("env", "symbols")
src_local = []
for name, val in symbols:
if "CONFIG_DRIVER_UART_PL011" == name:
src_local.append(glob.glob("uart/pl011/*.c"))
if "CONFIG_DRIVER_TIMER_SP804" == name:
src_local.append(glob.glob("timer/sp804/*.c"))
if "CONFIG_DRIVER_IRQ_PL190" == name:
src_local.append(glob.glob("irq/pl190/*.c"))
obj = env.Object(src_local)
Return('obj')