summaryrefslogtreecommitdiff
path: root/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6360/SConscript
blob: 985fd5d7e6398d3e32a6cac4e676f40ac3ad5e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
import sys
Import('rtconfig')
from building import *

#get current directory
cwd = GetCurrentDir()

# Update include path
path = [ cwd, cwd + '/boot' ]

# The set of source files associated with this SConscript file.
src = Split('''
    system.c
    hpm_l1c_drv.c
    hpm_sysctl_drv.c
    hpm_clock_drv.c
    boot/hpm_bootheader.c
''')


group = DefineGroup('SoC', src, depend = [''], CPPPATH = path)

Return ('group')