mirror of
https://github.com/drasko/codezero.git
synced 2026-01-22 07:43:21 +01:00
Working compilation, but adding variant_dir = BUILD it doesn't work
This commit is contained in:
10
src/api/SConscript
Normal file
10
src/api/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
Import('symbols')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['kip.c', 'syscall.c', 'thread.c', 'ipc.c', 'space.c', 'mutex.c', 'capability.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
|
||||
Return('obj')
|
||||
10
src/arch/arm/SConscript
Normal file
10
src/arch/arm/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['head.S', 'vectors.S', 'syscall.S', 'exception.c']
|
||||
obj = env.Object(src_local)
|
||||
|
||||
Return('obj')
|
||||
10
src/arch/arm/v5/SConscript
Normal file
10
src/arch/arm/v5/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['mm.c', 'mmu_ops.S', 'mutex.S']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
17
src/drivers/SConscript
Normal file
17
src/drivers/SConscript
Normal 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')
|
||||
10
src/generic/SConscript
Normal file
10
src/generic/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['irq.c', 'scheduler.c', 'time.c', 'tcb.c', 'space.c', 'bootm.c', 'resource.c', 'container.c', 'capability.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
10
src/glue/arm/SConscript
Normal file
10
src/glue/arm/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['init.c', 'memory.c', 'systable.c', 'irq.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
10
src/lib/SConscript
Normal file
10
src/lib/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
Import('symbols')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['printk.c', 'putc.c', 'string.c', 'bit.c', 'wait.c', 'mutex.c', 'idpool.c', 'memcache.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
|
||||
Return('obj')
|
||||
10
src/platform/pb926/SConscript
Normal file
10
src/platform/pb926/SConscript
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
# Inherit global environment
|
||||
Import('env')
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = ['printascii.S','platform.c', 'uart.c', 'timer.c', 'irq.c']
|
||||
|
||||
obj = env.Object(src_local)
|
||||
Return('obj')
|
||||
Reference in New Issue
Block a user