summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/dm/graphic/framebuffer/SConscript
blob: d1329b7f90f9435b03d9209cd3a88ca4e5654940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

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

if GetDepend(['RT_GRAPHIC_FB_BCM2708']):
    src += ['fb-bcm2708.c']

if GetDepend(['RT_GRAPHIC_FB_RPISENSE']):
    src += ['fb-rpisense.c']

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

Return('group')