mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
15 lines
339 B
Python
15 lines
339 B
Python
Import('env', 'platform')
|
|
|
|
#Platforms using pl011
|
|
plat_list = ('eb', 'pba8', 'pba9', 'pb11mpcore', 'pb926')
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
src_local = []
|
|
|
|
for plat_supported in plat_list:
|
|
if plat_supported == platform:
|
|
src_local += Glob('*.c')
|
|
|
|
obj = env.StaticObject(src_local)
|
|
Return('obj')
|