blob: 4f39edb52da14136fef9d507238a81a6af2b2d46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from building import *
group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/pin']
if GetDepend(['RT_PIN_BCM_VIRT']):
src += ['pin-bcm-virt.c']
if GetDepend(['RT_PIN_BRCMSTB']):
src += ['pin-brcmstb.c']
if GetDepend(['RT_PIN_RASPBERRYPI_EXP']):
src += ['pin-raspberrypi-exp.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|