1import os 2import sys 3Import('rtconfig') 4from building import * 5 6#get current directory 7cwd = GetCurrentDir() 8 9# Update include path 10path = [ cwd, cwd + '/boot' ] 11 12# The set of source files associated with this SConscript file. 13src = Split(''' 14 system.c 15 hpm_l1c_drv.c 16 hpm_sysctl_drv.c 17 hpm_clock_drv.c 18 hpm_otp_drv.c 19 boot/hpm_bootheader.c 20''') 21 22group = DefineGroup('SoC', src, depend = [''], CPPPATH = path) 23 24Return ('group') 25