summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/clk/SConscript
blob: 630644edf3ee7da00cf239a6627212514fac9c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from building import *

group = []
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']

if GetDepend(['RT_CLK_BCM2711_DVP']):
    src += ['clk-bcm2711-dvp.c']

if GetDepend(['RT_CLK_BCM2835']):
    src += ['clk-bcm2835-aux.c', 'clk-bcm2835.c', 'clk-dsi.c']

if GetDepend(['RT_CLK_RASPBERRYPI']):
    src += ['clk-raspberrypi.c']

if GetDepend(['RT_CLK_RP1']):
    src += ['clk-rp1.c']

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

Return('group')