diff options
Diffstat (limited to 'bsp/raspberry-pi/dm/serial/SConscript')
| -rwxr-xr-x | bsp/raspberry-pi/dm/serial/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/raspberry-pi/dm/serial/SConscript b/bsp/raspberry-pi/dm/serial/SConscript new file mode 100755 index 0000000000..d78e788b4b --- /dev/null +++ b/bsp/raspberry-pi/dm/serial/SConscript @@ -0,0 +1,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') |
