blob: a60f069e956d7f2543bdf6706f919874f872fd1b (
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']
if GetDepend(['RT_MFD_BCM2835_PM']):
src += ['bcm2835-pm.c']
if GetDepend(['RT_MFD_RP1']):
src += ['rp1.c']
if GetDepend(['RT_MFD_RPI_SENSE']):
src += ['rpi-sense.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|