summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/pic/SConscript
blob: ab14380a575345b90faac378308ce46b502aedfb (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_PIC_BCM2712_MIP']):
    src += ['pic-bcm2712-mip.c']

if GetDepend(['RT_PIC_BCM2835_INTC']):
    src += ['pic-bcm2835.c']

if GetDepend(['RT_PIC_BCM2836_L1_INTC']):
    src += ['pic-bcm2836.c']

if GetDepend(['RT_PIC_BRCMSTB_L2_IRQ']):
    src += ['pic-brcmstb-l2.c']

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

Return('group')