summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/spi/SConscript
blob: cbde02fa56601fd715b3195c1332130de72af32f (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_BCM2835'):
    src += ['spi-bcm2835.c']

if GetDepend('RT_SPI_BCM2835AUX'):
    src += ['spi-bcm2835aux.c']

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

Return('group')