summaryrefslogtreecommitdiff
path: root/bsp/phytium/board/SConscript
blob: 1ab85f93a103c1b970bdb9f30d6774308e2ebad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from building import *

cwd = GetCurrentDir()
src = Glob('*.S')
src	+= Glob('*.c')
path = [cwd]
    
if GetDepend(['CUS_DEMO_BOARD']):
    src += Glob(cwd + '/cus_demo_board/fio_mux.c')
    path += [cwd + '/cus_demo_board/']

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

Return('group')