summaryrefslogtreecommitdiff
path: root/bsp/renesas/libraries/HAL_Drivers/SConscript
blob: 430a293f9a832a334b1468015a1d05b99efeccf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Import('RTT_ROOT')
Import('rtconfig')
from building import *
import os

cwd = GetCurrentDir()
group = []
src = ['drv_common.c']
path = [cwd]

if GetDepend(['RT_USING_NANO']):
    group = group + SConscript(os.path.join(cwd, 'nano', 'SConscript'))
else:
    group = group + SConscript(os.path.join(cwd, 'drivers', 'SConscript'))

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

Return('group')