mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 20:33:16 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
25
conts/userlibs/libdev/timer/omap/SConscript
Normal file
25
conts/userlibs/libdev/timer/omap/SConscript
Normal file
@@ -0,0 +1,25 @@
|
||||
import sys
|
||||
|
||||
Import('env')
|
||||
|
||||
# Get global paths
|
||||
PROJRELROOT = '../../../'
|
||||
sys.path.append(PROJRELROOT)
|
||||
|
||||
from scripts.config.configuration import *
|
||||
config = configuration_retrieve()
|
||||
platform = config.platform
|
||||
|
||||
#Platforms using omap_uart
|
||||
plat_list = 'beagle'
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
src_local = []
|
||||
|
||||
#for plat_supported in plat_list:
|
||||
#if plat_supported == platform:
|
||||
if plat_list == platform:
|
||||
src_local += ['timer.c']
|
||||
|
||||
obj = env.StaticObject(src_local)
|
||||
Return('obj')
|
||||
Reference in New Issue
Block a user