summaryrefslogtreecommitdiff
path: root/bsp/rockchip/dm/spi/SConscript
blob: 72aa6f98c7176f81db329c35e3c1cd0cfa5b3ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']

if GetDepend('RT_SPI_ROCKCHIP_SFC'):
    src += ['spi-rockchip-sfc.c']

if GetDepend('RT_SPI_ROCKCHIP'):
    src += ['spi-rockchip.c']

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

Return('group')