summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/serial/SConscript
blob: d78e788b4bf410d907eda4952eb4b1802d9e088e (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', cwd + '/../../../../components/drivers/serial/device/8250']

if GetDepend(['RT_SERIAL_8250_BCM2835AUX']):
    src += ['8250-bcm2835aux.c']

if GetDepend(['RT_SERIAL_8250_BCM7271']):
    src += ['8250-bcm7271.c']

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

Return('group')